Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
15
votes
5answers
9k views

How can I get rid of “missing DLL” problems?

I made some games with Visual C++ 2015 and OpenGL. When I ran it on my machine there was no problem, but when I ran it on other machines it shows that some DLLs are missing. I want to know how to make ...
11
votes
3answers
4k views

Why is it possible to encounter a texture coordinate greater than 1 or less than 0

I'm studying a text about texture mapping and in the preparing to draw session, I read: Define the texture wrapping ...
10
votes
3answers
17k views

Unity: “inconsistent line endings” dialog shows up ever time I open VS with unity

Everytime I open a script file from unity with visual studio this dialog shows up about normalizing the line endings? What does this mean? I click Yes every time but still can't get rid of it. It only ...
8
votes
2answers
4k views

Force Reload VS soution Explorer when adding new c# Script via Unity3d?

When I create C# script (Create -> C# Script) via Unity3d or delete it from Unity3d - <...
7
votes
5answers
13k 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 ...
5
votes
2answers
1k views

Managing cross-platform targets/compatibility with Monogame

I recently started using Monogame for the first time because of it's cross platform compatibilities and heavily active development. The first thing I did is installing the whole framework using their ...
5
votes
1answer
2k views

How can I launch Visual Studio via a double-click on a C# script in Unity?

This is my first time using Unity and I am following the tutorial for the 2D RogueLike Game. Everythings seems to be working properly, apart that I cant get Visual Studio to launch, if I'm double ...
5
votes
1answer
390 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:...
4
votes
8answers
12k views

Why is the IntelliSense not working when I open a new script in Visual Studio?

The strange thing is that opened scripts or newly opened ones are working fine. It's the new created C# scripts that are not working. With not working, I mean the MonoBehaviour is not in light blue ...
4
votes
3answers
691 views

Debugging multiplayer games without killing network thread?

How do I approach multiplayer games for debugging? When debugging locally - how can you prevent yourself from disconnecting? The debugger halts network activity.
4
votes
1answer
455 views

Can you help me solve the paradox that has confused me about the glViewport and glOrtho functions?

suppose that I have an image that I want to apply as a texture on a geometry (at time we don't consider texture mapping but this image has a certain width and height here it is a 512x512 image) I want ...
4
votes
1answer
262 views

Trapping Asserts in Visual Studio

I'm writing a 2D game with some fairly complex off-screen logic, with plenty of room for bugs. My usual habit is to write code with a lot of Asserts in it. When an Assert gets hit I drop into the ...
4
votes
1answer
2k views

Compile cocos2d-x Windows games without Visual Studio

I want to use cocos2d-x to make a Windows game. I used the cocos console: cocos compile -p WIN32 And apparently it needs Visual Studio. Is there an alternative ...
4
votes
1answer
6k views

Adding SpriteFont in Monogame

My question is probably something you guys have heard before - "How do you add SpriteFont's in Monogame's content manager?" The simple answer to this is, right click the 'Content' folder, go on 'Add ...
4
votes
0answers
456 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 ...
3
votes
2answers
6k views

How do I get the DirectX project templates to appear in Visual Studio?

I have DirectX11 on Windows 7, and I also have VS13 Express for Desktop. In some tutorials I have seen that there's an option on VS13 for new project on DirectX, but doesn't appear in my VS13. Is it ...
3
votes
3answers
2k views

How can I avoid repeatedly setting up SDL in VS 2013?

Do I have to set up SDL 2.0.3 every time I make a new project? I tried putting sdl.dll in system32 so that I don't have to ...
3
votes
2answers
550 views

VS2013: Compiling Shaders with Shader Model 5.0

When I try to compile two HLSL files included in my project, the compilation fails with an error: Error error X4502: invalid vs_2_0 input semantic 'INSTANCE' However, I notice it's trying to use ...
3
votes
1answer
5k views

How to enable IntelliSense for Unity scripts in Visual Studio?

I am using Visual Studio 2013 pro and Unity 4.6. Whenever I write scripts (javascript or c#) for anything and open it up in Visual Studio, I don't get IntelliSense. How to fix this issue?
3
votes
1answer
455 views

How do I add freeglut to a Visual Studio project?

I am working on making a game for Windows in c++. I have previously made games for Ubuntu using freeglut, and I found freeglut for windows, but when I added it to the ...
3
votes
1answer
2k views

Filling a polygon with a texture (or a color) C# Visual Studio

I'm trying to figure how to put a texture or fill a "DrawPolygon" with a simple color in C# Visual Studio (using right now 2015). ...
3
votes
1answer
2k views

what's the best way of panning in a 2D scene

Up to know I have used this functions to create a 2D scene (for showing images) and to pan on it ( in fact it's a customization of the class COpenGLControl here in codeguru) : ...
3
votes
2answers
3k views

Unreal engine how do I change the visual studio version without having loaded up a project?

I get an error which I mentioned in a previous post. I did a little more research on this error and found out that I need to use an up-to-date visual studio. I think that I might need to change the ...
3
votes
1answer
2k views

How to buffer an image in winbgim?

So ive always had problems with buffers and never used them before. I read up on the topic online but since winbgim is so old i couldnt find any definite answers to the topic. So im gonna ask them ...
3
votes
1answer
368 views

Monogame project runs in VS but hangs when run via .exe

I've been working on a monogame project for a little over a week and had no problems. Today I went to test out the project outside of Visual Studio, by running directly from the .exe in the release ...
3
votes
1answer
213 views

Synchronization problem with Visual Studio 2017 and Unity 2017.1.1f

Sometimes I need to change a lot of files and Clean and Rebuild the Solution to get the changes on Unity, am I missing some configuration on Visual Studio or Unity? I uninstalled everything and make a ...
3
votes
0answers
578 views

How does Visual Studio integrate with Unreal Engine better than Code::Blocks does? [closed]

Background: I want to start using Unreal Engine 4, but I'm not sure which IDE I should use. I've narrowed it down to Code::Blocks (which I want for a couple good reasons) and Visual Studio 2015 (which ...
2
votes
1answer
6k views

Where are the files UnityEngine.dll and UnityEditor.dll located on a Windows filesystem?

Visual Studio can't find the UnityX.dll files after I copied my assets folder from one computer to another. Where can I find these .DLLs? UnityEditor.dll UnityEditor.iOS.Extensions.XCode.dll ...
2
votes
1answer
7k views

Structure of Visual C++ Projects in Visual Studio

In particular, I was wondering if it was possible for Visual Studio to treat source files in different directories as all in the same directory. I first saw this after purchasing the Introversion ...
2
votes
1answer
84 views

Visual Studio not recognizing Unity's new Input system

I'm attempting to learn Unity's new input system, but when I try to add using UnityEngine.InputSystem; to my code it gets a red squiggly line under it. It doesn't ...
2
votes
2answers
421 views

How game engines generate single executable games?

I was taking a look at Cryengine's and Unreal's code and when built both engines generates lots of dlls. Inside Cryengine's System code I could see that it calls LoadLibrary to load the dlls and ...
2
votes
1answer
1k 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 ...
2
votes
1answer
297 views

Using a single square sprite to create tetris-like objects

I'm currently working on a project in XNA, Visual Studio, where it is crucial I can create the classic tetris figures solely based on one square sprite (So I can return to each individual square at a ...
2
votes
1answer
3k views

How to build a C# library for Unity as a pure Visual Studio project

The aim is to build a relatively simple (2D) game in Unity with most of the game logic in a non-visual AI. The AI needs a lot of testing and debugging independently of any visuals (which is best done ...
2
votes
1answer
2k views

Is it possible to compile both VS and PS in a single file in VS2012?

VS2012 has a built-in option for compiling *.hlsl files at compile time (e.g. to check for errors). But from what I've seen it ...
2
votes
1answer
4k 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, ...
2
votes
2answers
8k views

Visual Studio 2010 C++ & OpenGL project cannot detect .lib files [closed]

So I'm trying to start a C++, OpenGL project on Visual Studio 2010, and I have put glut.h and glut32.dll in the project directory, along with the glut.dll and glut32.lib files in a folder named "glut" ...
2
votes
1answer
724 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 ...
2
votes
1answer
621 views

No more OpenGLES 2 UWP template in Visual Studio 2017?

In Visual Studio 2015, a convenient cross-platform C++ project template was available named "OpenGLES 2 Application (Android, iOS, Windows Universal)." I cannot find this template in Visual Studio ...
2
votes
1answer
759 views

Integrating the Steamworks API achievements into your game

I'm coding a game in Visual Studio 2015 and am wondering how to go about adding steam achievements to it using the Steamworks API, do I need to have my game on steam before hand or if not what's the ...
2
votes
1answer
155 views

What framework do you reference for external dll's to work with Unity/Mono?

So I want to compile an extensions dll for a unity game because I feel I'll end up reusing these extensions in other games/projects too - and I want to learn about external dependencies with Unity. :) ...
2
votes
1answer
1k views

Cocos2d-x project every time must compile the project plus other libraries

I'm using cocos2d-x v3.6 for win32 desktop and Visual Studio 2013 with c++. When I change the code and then compile the project ...
2
votes
2answers
933 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 ...
2
votes
0answers
826 views

The identifier is not in the scope! [closed]

I have a typical foreach loop in a coroutine like: ...
2
votes
2answers
276 views

c++ text based duel game, buggy turn mechanic

so ive checked this code 100 times for mistakes and everything checks out and should be working, I've tried everything I can think of but for some reason nothing works, this makes the movement super ...
2
votes
0answers
2k views

Unity (C#): How can I create dialogue to be used in my game? (also critique my system?) [closed]

I've created my own system for handling dialogue. There's a class for each 'node' or part of dialogue. It contains the following variables: identifier (identifiers are unique for each NPC, but not ...
2
votes
0answers
98 views

Game performs poorly when sideloaded [closed]

My game runs smooth when I deploy it to my windows phone directly from Visual Studio 2012 in debugging mode. But when I sideload/deploy the same .xap file with the Application Deployment Tool, the ...
1
vote
1answer
2k 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
1answer
584 views

UE4 crashing after compiling, anyway to fix?

I'm working on a small game project and made a completely noob mistake and don't have a back up. Well, after compiling my most recent c++ code, the engine crashed. And now every time I try to reopen ...
1
vote
2answers
4k views

Unity solution not compatible with Visual Studio

Since updating to the most recent version of Unity 5.4.0f3 Personal Edition, whenever I double click on a script, it launches Visual Studio, but I get an error saying that this version of Visual ...

1
2 3 4 5