Questions tagged [sln-file]

sln is a file format in Visual Studio designed to store "solution", a structure for organizing and maintaining project information similar to project workspace (.dsw) files in Visual C++ 6.0.

sln is a file format in Visual Studio designed to store "solution", a structure for organizing and maintaining project information similar to project workspace (.dsw) files in Visual C++ 6.0.

http://msdn.microsoft.com/en-us/library/bb165951%28v=vs.90%29.aspx

90 questions
0
votes
0 answers

vs2022 python and wix how to publish? (as with donet publish with dll)

I made 2 proyects inside a solution in vs 2022. Dont know what to do next. I think I should publish dlls as in the totorial I was watching, and publish with dotnet, but don't know what to do next. I'm doing this tutorial but its for core apps, not…
ur mom
  • 17
  • 5
0
votes
0 answers

What file format most closely resembles or influenced Visual Studio solution files (.sln) for syntax highlighting in VS Code?

I'm leaning on .ini file format but if someone has insight on what influenced solution files and the history behind them it I'd appreciate it. This is so I can apply some syntax highlighting in VS Code when I open a .sln file.
Nomnom
  • 4,193
  • 7
  • 27
  • 37
0
votes
1 answer

Add external solution built by conan to cmake project

I'm trying to add a third-party library (let's say rttr) to the Visual Studio solution we generate through CMake.So I know if I create an editable package through Conan, then build it from source, I can open and edit it through another instance of…
DuckPunk
  • 1
  • 2
0
votes
1 answer

Persistent sln change demands to be saved when building or changing branches

I updated visual studio 2022 to version 17.3.1. Now when even, I build or try to change branches it asks me to save changes to the sln file. However, I get an error if I try to save it. It just says "parameter". It won't let me build unless I get…
April Gray
  • 41
  • 2
  • 5
0
votes
1 answer

msbuild error, "SetEnv" task could not be loaded from assembly Microsoft.Build.CppTasks.Common

I have msbuild version 14.0.25420.1 on my win10 command prompt computer, If I try to build a visual studio project file with this command: msbuild .\folder1\WxsGenerators.sln I get an error BUILD FAILED …
POVR2
  • 87
  • 10
0
votes
1 answer

Is it possible to generate .sln file from .ninja file?

I was messing around with chromium and was left with a build.ninja file. I want to see if it's possible to generate in some way a .sln file so I could build the project in visual studio to use build acceleration programs on it.
0
votes
2 answers

Visual Studio: Set Project configuration 'Release' as default for new Solution configuration

I have a VS solution with Release and Debug Configuration. Each project in the solution has different settings for Release and Debug. Now I have added a new solution configuration named 'DedicatedSolutionConfiguration'. With this configuration I…
user1470240
  • 580
  • 3
  • 19
0
votes
0 answers

How to open .SLN from Release folder

I have started a new job. And the guy before did not leave me the solutions of the projects he was working on. I can only access the projects- published files from IIS. Is the any way i can open in visual studio the projects with those files, and…
0
votes
0 answers

Uninstall WxWidgets made from .sln file

I had installed WxWidgets using this video tutorial : link I now need to uninstall it properly so I am concerned that if I just directly delete the entire folder created for WxWidgets and then remove from system variables will be fine or should I do…
sidewala
  • 61
  • 4
0
votes
0 answers

How to run a c++ function using MSBuild targets?

I am using MSBuild and I came across this topic called Targets that lets you perform some tasks before building the project. I need to run a C++ function which is present in a .cpp file in my (.sln) solution file. I came across this example to run a…
0
votes
1 answer

Building .SLN files on Windows without Visual Studio?

I have recently been trying to set up my CMake environment and some 'hello world' code in C++. I added a CMakeLists.txt and added my configurations, but when I ran cmake . in the command line, something was different from all of the tutorials. The…
JakubGamer
  • 127
  • 10
0
votes
0 answers

Is it possible to use regexes in filtered SLN files?

Giving a simple SLN that contains the following project: ├───libs │ ├───libA │ │ Class1.cs │ │ libA.csproj │ ├───libB │ │ Class1.cs │ │ libB.csproj │ └───libC │ Class1.cs │ …
Lucas
  • 1,171
  • 9
  • 21
0
votes
0 answers

Error opening Node.js .SLN on Visual Studio Mac

I need to work on a Node.js project in Visual Studio 2019 for Mac. It has been worked on with Visual Studio 2012 on a PC. When I open the .sln there's a red cross showing the error: "Load failed: Unknown solution item type". What could I try or…
meaning-matters
  • 21,929
  • 10
  • 82
  • 142
0
votes
2 answers

In Rider, how do I use an .sln file not in the project root folder?

Our code is structured as: - Readme.md - deploy.sh - infrastructure/ -- stacker.yml -- ... - backend/ -- backend.sln -- ... - frontend/ -- package.json -- ... The default behavior when opening a solution is for its folder-view to be rooted in the…
matt
  • 125
  • 12
0
votes
1 answer

How to restore nuget packages from .bat file when .sln file have 'Any CPU'?

My solution have a mix of Visual Basic and C# projects, in total 32 projects. When I rebuild from Visual Studio 2017, all projects restores from nuget.org. When I trigger a .bat file, only 16 of the projects restore packages from nuget. This line…
Martin Nilsson
  • 459
  • 1
  • 5
  • 15