Skip to main content

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
5 answers
10k 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 ...
videogamechef's user avatar
11 votes
3 answers
5k 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 ...
Sepideh Abadpour's user avatar
10 votes
3 answers
19k 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 ...
Mark S's user avatar
  • 203
8 votes
2 answers
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 - <...
Alexey Shimansky's user avatar
7 votes
6 answers
15k 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 every time pretty much the same: Reloading the project. But in my solution ...
some_user's user avatar
  • 123
5 votes
8 answers
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 ...
scriptal man's user avatar
5 votes
2 answers
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 ...
artganify's user avatar
  • 469
5 votes
1 answer
3k 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 ...
Christopher's user avatar
5 votes
1 answer
448 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:...
Nilmag's user avatar
  • 241
4 votes
3 answers
766 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.
Vaughan Hilts's user avatar
4 votes
1 answer
526 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 ...
Sepideh Abadpour's user avatar
4 votes
1 answer
273 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 ...
david.pfx's user avatar
  • 201
4 votes
1 answer
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 ...
Saturn's user avatar
  • 1,771
4 votes
1 answer
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 ...
JimmyK's user avatar
  • 153
4 votes
0 answers
539 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 ...
Jayson Meribe's user avatar
3 votes
2 answers
7k 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 ...
BeeKnee's user avatar
  • 31
3 votes
1 answer
4k 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 ...
Millard's user avatar
  • 500
3 votes
3 answers
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 ...
user2644399's user avatar
3 votes
2 answers
601 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 ...
Xenoprimate's user avatar
3 votes
1 answer
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?
AVIK DUTTA's user avatar
3 votes
1 answer
580 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 ...
William Thompson's user avatar
3 votes
1 answer
3k 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). ...
user avatar
3 votes
1 answer
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) : ...
Sepideh Abadpour's user avatar
3 votes
2 answers
5k 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 ...
Aaron's user avatar
  • 27
3 votes
1 answer
462 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 ...
Saliken's user avatar
  • 357
3 votes
1 answer
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 ...
MoustacheSpy's user avatar
3 votes
0 answers
618 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 ...
The Guy with The Hat's user avatar
2 votes
1 answer
9k 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 ...
BenR's user avatar
  • 123
2 votes
1 answer
8k views

Structure of Visual C++ Projects in Visual Studio [closed]

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 ...
sm81095's user avatar
  • 543
2 votes
2 answers
1k 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 ...
Brian Batista's user avatar
2 votes
1 answer
2k 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 ...
Samuel Lopes's user avatar
2 votes
1 answer
2k views

How to set C++ language standard for VS2019 in an Unreal project?

I am trying to a simple thing, just like that, in a header file; #include <filesystem> #include <iostream> namespace fs = std::filesystem; And ...
formatc2013's user avatar
2 votes
1 answer
4k 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 ...
david.pfx's user avatar
  • 201
2 votes
1 answer
365 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 ...
Jon Dier's user avatar
2 votes
1 answer
3k 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 ...
NPS's user avatar
  • 2,334
2 votes
1 answer
1k views

How do I prevent my game from being detected as a virus?

I developed my own game engine and I'll refer to it as a Software Development Kit (SDK) here, for making a specific type of game. The SDK encapsulates low level DirectX APIs. It's written in C++ and ...
DHarding's user avatar
2 votes
1 answer
6k 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, ...
Danny's user avatar
  • 325
2 votes
2 answers
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" ...
OddCore's user avatar
  • 131
2 votes
1 answer
657 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 ...
Dan's user avatar
  • 123
2 votes
1 answer
205 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. :) ...
Genesis2001's user avatar
2 votes
1 answer
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 ...
Lion King's user avatar
  • 171
2 votes
2 answers
1k 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 ...
ccl's user avatar
  • 31
2 votes
0 answers
1k views

The identifier is not in the scope! [closed]

I have a typical foreach loop in a coroutine like: ...
Henjin's user avatar
  • 415
2 votes
1 answer
226 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 ...
user264560's user avatar
2 votes
2 answers
309 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 ...
Spencer Hopkins's user avatar
2 votes
0 answers
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 ...
Jacob Morris's user avatar
2 votes
0 answers
100 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 ...
IMX's user avatar
  • 495
1 vote
2 answers
25k views

Error: not all code paths return a value [closed]

I'm new to unity, so I've been having problems with my code here: ...
PandaPlay123's user avatar
1 vote
2 answers
5k 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 ...
David Greaves's user avatar
1 vote
1 answer
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. ...
Nightmare Games's user avatar

1
2 3 4 5