Questions tagged [visual-studio-project]
81 questions
1
vote
1 answer
F# desktop-support
I need to add a F# .Net Framework project to an existing solution (with older .Net Framework projects, mostly C#).
I have all the install options for F# (optional items) selected:
If I previously selected the F# .Net Framework
All worked fine (in…

royu
- 377
- 2
- 5
- 15
1
vote
1 answer
Convert C# 2008 files to C# 2010
I've got a program which i made on one machine in which i used C# 9 to make it in and i now want to run it on my other machine which uses C# 2010. I opened the program in C# 2010 and use the embedded converter but it comes up with a problem. After…

Chris Bacon
- 995
- 8
- 30
- 42
1
vote
0 answers
Use LINQ to SQL with new Visual Studio Project format?
Is there a way to make Visual Studio LINQ to SQL tools to work with new Visual Studio project format?
I do following 2 steps:
I create new class library and set TargetFramework as net48 (or lower):
…

Nenad
- 24,809
- 11
- 75
- 93
1
vote
0 answers
Can't get the project in solution reference class in another project
I am new to MVC and not sure what I am doing wrong.
I have a solution with two projects in it. One is a C# library class project and the other is an ASP.NET MVC project.
The class library project is for holding a class used by the MVC project.…

Tom Mauldin
- 29
- 5
1
vote
1 answer
How can I add an existing file to a project in Visual Studio in the pre-build event?
I have a batch file creating a config file that I don't want to share with all team mates over SVN because it's used for developer specific settings. The config file is called from app.config and is necessary in order to build the project and I…

MicMan
- 31
- 5
1
vote
0 answers
when label has value pop up message and second form appear
how to make every time the gpa equal to 3.5 to 4.0 there message pop and next form. i manage to do but when the gpa is below 3.5 the message still appear
but i did change the int to string. idk is it because i change to string
public partial class…

Zykov Leonid
- 11
- 1
1
vote
0 answers
Visual Studio 2017: C1083: Cannot open source file. Absolute path mangled
I am attempting to uplift a project from VS2010 to VS2017. I have done several others without any (unexpected) issues. I am now attempting to do the same with a Google Test project, however when I attempt to build the project I…

Ben Turner
- 725
- 1
- 6
- 23
1
vote
1 answer
What is the difference of Additonal Include Directories and Additional #using Directories?
In Visual Studio (Visual C++)Project setting we able see these settings:
Additional Include Directories (/I[path] compiler switch)
Additional #using Directories (/AI[path] compiler switch)
I want to know when to use these settings appropriately…

Buddhika
- 117
- 7
1
vote
1 answer
How to read\write settings from a Visual Studio Project file using NuGet?
I'm interested in creating a NuGet package for a documentation tool I'm writing. Ideally, I'd like the user to not have to configure my tool in anyway. In order to do this, I need to be able to read some settings from the Project's .csproj or…

Wesley Wiser
- 9,491
- 4
- 50
- 69
1
vote
3 answers
How to enumerate C# project files and update the header of a file?
Can somebody help me on enumerating a C# project files and update the cs file headers in Visual Studio 2010? Any helpful code snippet or a pointer to that would be highly appreciated.

Anindya Chatterjee
- 5,824
- 13
- 58
- 82
1
vote
0 answers
Copy To Output Directory and preserve directory structure
I have a rather weird project setup (maybe I just dont understand it well enough)
this happens to be the project if it helps https://github.com/domoticz/domoticz
This project is generally used on linux but they have an MSBuild folder with project…

jrich523
- 598
- 1
- 5
- 19
1
vote
2 answers
VS 2010 Database Project - Different Connections
I have an application that I'm developing in Visual Studio 2010 that utilizes a SQL Server database. As such, I am using a VS SQL Server 2008 Database Project.
The database project requires a target connection for which is used to build the…

J.C.
- 2,102
- 1
- 19
- 28
1
vote
1 answer
Open Visual Studio project using c# Process.Start()
In my situation, I have a zip file which contains Visual Studio Project (the csproj file, bin and obj folder,...). This zip is exported from a database and unzipped in custom temporaly directory using .NET C#. The problem appears when I start the…

Tihomir Blagoev
- 83
- 1
- 1
- 10
1
vote
0 answers
How to view all properties for a loaded Visual Studio project?
I'm currently struggling with a issue I'm having with a custom defined project property, which is supposed to be imported from an external build target file.
The property is defined as such in the imported file:
…

Crono
- 10,211
- 6
- 43
- 75
1
vote
1 answer
Visual Studio reference another project under development and release configuration
I have 2 solutions that I'm currently developing. One solution is my main application which has a few projects inside it (DAL, BL, UI and CORE) as layers, and the second solution is a class library that I'm developing (that can be used by any…

developer82
- 13,237
- 21
- 88
- 153