Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [visual-studio]

Visual Studio is an integrated development environment (IDE) from Microsoft. It supports many different programming languages.

0
votes
0answers
21 views

Is unzipping library necessary for set it up on Visual Studio project? [on hold]

I'm not aware of coding with graphics libraries but I'm of setting them up on Visual Studio projects, and have posted some articles at wikihow.com about. I suggest setting up zipped libraries, ...
-1
votes
0answers
30 views

C# How to Prevent Accidentally Editing Backing Store of a Property [closed]

In C#, is there a way to not accidentally edit the backing store instead of the property? (Assuming they are in the same class)
0
votes
1answer
31 views

How to format my code using Unity C# checkstyle?

Is there any possible way to check your code with checkstyles in C# unity?
0
votes
0answers
29 views

Problems setting up Epic online services in an Unreal Engine 4 project

I have been attempting to get the new Epic online services APK working in a UE4 project. When I add the header files and the .lib file to the project, Visual Studio does recognize the various ...
0
votes
0answers
13 views

Using Azure with Unity

I currently use Unity 2018.3.9f1. I would like to hook up my Unity program to an Azure service, so that I can store/analyse information about user behaviour. As a primer, I tried to import the ...
0
votes
1answer
64 views

How would I move something around inside of a sphere without it going outside of the sphere?

I want to be able to do this, but not go outside of the 4.4 meter limit, the radius is 4.4 meters, and it has zero gravity and no friction. I have a hard time explaining this, but imagine holding a ...
0
votes
1answer
55 views

Integrate Stripe with Unity

I'm trying to install the Stripe API Library through NuGet Manager in Visual Studio but it installs it inside packages folder of the Project (I.E. before Project's Assets folder) doing this I cannot ...
0
votes
1answer
46 views

Getting Position of a Player in a grid

So I am making a pacman-like game. the game has tiles/grid. I keep the node data in a struct: ...
1
vote
1answer
122 views

For PC game development with Visual Studio, how do AAA developers reconcile their dozens-of-GB games with VS's 4 GB memory limits?

As far as I understand it, Visual Studio is the de-facto standard for Windows development in C# and C++, but it is limited by the fact that it's a 32-bit application and thus only has access to 4 GB ...
0
votes
1answer
12 views

Full-screen window hangs when debug break or crash (Windows/GLFW/Cocos2D)

I run into an issue if my game application becomes unresponsive when running in fullscreen on Windows. This mostly applies when I want to use breakpoints in Visual Studio, however if the application ...
1
vote
1answer
53 views

FormatMessage not working for HRESULTs returned by Direct3D 11

I am using Windows 7 x64 and Visual Studio 17 (v15.9.7). Say I try to create a swap chain using IDXGIFactory2::CreateSwapChainForHwnd and pass in ...
0
votes
0answers
38 views

initialising constructor

I am using the SFML library to create a 2D grid. i use grid cords so I can place my players on the grid: I use struct to hold information of the nodes ...
0
votes
1answer
47 views

Visual Studio can't handle my unity scripts

I have created a new project in Unity 2018.3.4f1 with Visual Studio Community 2017. I can't edit scripts properly in Visual Studio because of a bunch of errors related to .net framework. How can I fix ...
0
votes
1answer
60 views

How do I compile a namespace to a .DLL in Unity?

I'm developing a core library that I will use in my other games. I've only heard of using Unity .DLLs recently, and have spent some time putting my core scripts into a namespace. If I understand .DLLs ...
0
votes
0answers
37 views

Cannot deploy MonoGame project to BlueStack (ADB0000: closed)

I'm using MonoGame 3.6 with Visual Studio 2017 Community and I'm trying to deploy to BlueStack as Android emulator. VS can see Bluestack and permit me to launch deploy but ends with this error: ...
-1
votes
1answer
78 views

Game development with Unity option is Unavailable

When I am trying to download"Game development with Unity" from the visual studio 2017 the option says it's"Unavailable".. How to download this? So question is : Ques. : How to select the option ...
0
votes
1answer
19 views

Disabling, overriding or hooking a VS warning to Unity's Vector's ToString()?

I've just spent 2 hours debugging a misbehaviour because ToString() truncates to 1 digit by default. I want to disable the parameterless version so I won't use it by accident and I will always have ...
1
vote
0answers
121 views

Getting “System.Int32 is not defined or imported” in Visual Studio 2017 with Unity

I have been working well with Unity 2018.2 & VS2015, the only issue was the constant VS2015 reloading but I was putting up with it. When I upgraded to Unity 2018.3 an issue came up when trying to ...
0
votes
2answers
118 views

Multiple errors on brand new C++ project

I've just started a brand new project and created a created a new C++ Character class. However Visual Studio 2017 shows 140 errors. The project still builds fine, however the syntax highlighting and ...
0
votes
2answers
131 views

error not all code paths return a value unity bool c#

I'm new to unity, so I've been having problems with my code here: ...
0
votes
1answer
238 views

workload not availble on visual studio 2017 setup

i use vs2017 with unity but now when io want to install it on new pc there is a message says: workload unavailable right now. required conditions are not satisfied. not win10 threshold number1 and ...
0
votes
1answer
211 views

How do I allocate to a C# dictionary having a string key and an integer 2D array or transform for value?

I'm working in C# on a Unity 2D game that spawns a shape that has only one correct landing place. There are 7 basic shapes but the component 4 squares of each shape are unique, with each bearing, say, ...
5
votes
1answer
303 views

System.Net.Http.dll and Unity 2018.2.1, 2.2, 2.3 are conflicting, assembly reference keeps being deleted in VS 2017, any suggestions?

I'm looking for some suggestions on how to fix a strange bug i've been getting with System.net.http.dll. For the record, builds work fine as i have the mcs.rsp file in the /Assets/ folder with "-r:...
1
vote
1answer
1k views

Upgrade to Unity 2018.2.2f1 resulting in missing file errors from Visual Studio

After being prompted by Unity to upgrade and doing so, Visual Studio is now giving me a long list of errors in the project about missing files. ...
1
vote
0answers
41 views

Monogame Per Pixel Collision scale texture

I have a problem: I am learning the Per Pixel Collision, because I am very new to Monogame. Everything works thine, but my texture (image) is too big, so I scaled it down to 0.5f. Now it doesn't work ...
0
votes
0answers
35 views

Exclude Unity projects from Visual Studio solution?

While I was happy to see these when they first appeared, I've noticed that loading and unloading all the different projects from Unity is really taking a toll on Visual Studio's performance after each ...
0
votes
2answers
52 views

How can I take ingame images and videos?

I’m using MonoGame and Visual Studio Community on my Mac to develop a game for iOS. I want to take ingame images and videos of the gameplay while the game is running on an iPhone/iPad. Afterwards, I ...
1
vote
1answer
127 views

Why is my call to SetDisplayMode not supported?

I have some legacy DirectX code that always returns DDERR_UNSUPPORTED. I originally developed the code using DirectX3, and I am porting it to DirectX7 after ...
2
votes
1answer
540 views

Nuget in Unity with Mac OS

I have moved over to Mac for Unity development, and am aware you can still use Windows .dll files in your project. I use NuGet as a secure method of getting specific dlls, and have usually done this ...
1
vote
1answer
444 views

Issue importing TileMaps/TileSets in Monogame.Extended 1.0

I've just started coding my first ever videogame using Monogame/Xna. I've reached a point where I would like to start editing maps and importing them into my game using the program Tiled. After ...
1
vote
1answer
43 views

Visual Studio not updating files made in Unity

In the past Visual Studio simply updated solution based on files added in Unity but now all of them have to be added manually and they are as miscellaneous when they are added. How can I fix it?
1
vote
1answer
84 views

Game not responding on different computer with Intel graphics

I have a game that uses SDL2 and OpenGL 3.3 with Visual Studio. It runs fine on the computer that built it, but it did not work on other Windows computers. Initially, it would complain about missing ...
0
votes
1answer
45 views

VSSetConstantBuffers1 does not appear to be working

I'm experiencing something very strange here when using VSSetConstantBuffers1. I have a projection * world matrix that I'm sending to a constant buffer to rotate a triangle on an axis. When I do ...
0
votes
1answer
63 views

How can I get Visual Studio to build FXOs when I build my game?

I'm trying to compile a .fxo file when I compile my game. The compile command-line is: fxc.exe /T fx_5_0 /Fo Basic.fxo Basic.fx Instead of manually using fxc....
3
votes
4answers
4k views

No project in visual studio using unity created

As I have sometimes problems with intellisense in visual studio using unity, I searched for some answers. It was almost everytime pretty much the same: Reloading the project. But in my solution ...
0
votes
1answer
1k views

Deactivate VS warning “Macro in skipped region”

Since the UE4 API relies heavily on macros outside of function bodies, the IntelliSense function (not the compiler!) of Visual Studio 2017 throws a lot of warnings with update 15.7, also visible in ...
-4
votes
1answer
66 views

is if statements important or do I need them [closed]

Hey I was wandering I am needing some advice I am using #if expressions to execute my code and I was wandering if you have #if expressions is it really needing to use if statements in your c++ source ...
0
votes
0answers
58 views

How to insert the SDL2 library into visual studio for C but not C++

I am a student and want to make an RPG game using visual studio by C programming as my project, so I need to insert some png photo into the game as the background. But I was frustrated to discover no ...
1
vote
1answer
322 views

Cross-platform GLFW build with CMake

I know this is probably a popular question and can be very vague, so I'm going to be as specific as possible. I don't really know how to even form this question to be able to search Google, so I came ...
-3
votes
1answer
50 views

What is a Linker Map Address ()

I need to know how to execute a linker map address and use a draw method in xna 4.0 to for example in c# My subfolder has this in it textures models sounds ui scripts shaders linker map address <...
0
votes
1answer
571 views

For Visual Studio Community 2017, 'Unreal Engine Installer' option is not available

On Visual Studio Community Installer, I cannot find 'Unreal Engine Installer' under 'Desktop Developemtn with C++' - 'Optional'. According to the tutorials I am learning, the 'Unreal Engine Installer' ...
0
votes
0answers
31 views

Unity3D always switches back to C# 4.0?

I have already done this: Unity3D > Edit > Project Settings > Player Scripting Runtime Version: Experimental (.NET 4.6 Equivalent) Api Compability Level: .NET 4.6 Visual Studio > Tools > Options > ...
0
votes
0answers
38 views

SFML Include Issues

I'm trying to copy over a VS2017 solution/project which uses SFML to a different machine. On the original machine, everything compiles and runs fine however when copied over to the second machine (...
2
votes
0answers
208 views

Why am I getting errors like these when trying to build my app

I am currently trying to build and publish my app to the universal windows platform halfway through the process of doing so, during the validation process I got stopped with these errors. The 1st one ...
2
votes
2answers
598 views

SDL_image entry point SDL_acosf not found in SDL2_image.dll

I tried using SDL2_image (2.0.3) with SDL2 (2.0.7) to load png files, but when I start the application I get ...
1
vote
0answers
52 views

A question about HLSL debugger in Visual Studio Graphic Diagnostics

Here 's the thing. I developed a graphic project using SharpDx. Every time I actived the graphic diagnostic and debuged some hlsl code in my shaders, It always showed me the disassembling code rather ...
1
vote
1answer
1k views

Problem with folder structure and building project in UE4

I created a new C++ project on Unreal Engine 4. After that I close visual studio and ue4 editor. I manually added public and private folders in the source folder. Then I made folders for the player, ...
0
votes
1answer
21 views

Fresh Unity/Visual Studio 2017 install error

Installed Unity 5.6.3p2 (my projects's current version) on a new machine. When I opened the project in Visual Studio 2017 I got a prompt to update the .NET framework from 3.5 to (I think) 4.2.x. I ...
0
votes
1answer
172 views

Xna Spritefont from installed fonts

I am using Spritefont in my game and I have downloaded a .ttf font and installed it on my machine. I am now using this font in my game. My question is if this game is run on another machine will the ....
0
votes
2answers
68 views

What edition of VS is installed by Unity and what are its capabilities?

My brother just installed Unity on my desktop, and it seems like it installed Visual Studio 2017 as well. I was planning to install Visual Studio before this, so I was wondering what kind of version ...