Skip to main content

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.

0 votes
0 answers
12 views

Can't open forms from sln project from GitLab

I had to restore a sln project from GitLab and i can't open some forms in the Designer. I had several types of error: The connection to the server has been lost (in a popup message box) Object not ...
8oris's user avatar
  • 383
0 votes
1 answer
61 views

Git shows modified files with no actual differences

I'm working on a large and complex corporate project and I'm encountering an issue with Git and Visual Studio solution files (.sln). I have two .sln files that Git identifies as completely edited, but ...
Alessandro R.'s user avatar
0 votes
0 answers
42 views

Build csproj on Visual Studio without building references

Lets say you have a solution with projects A and B. A needs to B be build at least once so in order to be built with MSBuild i need it to be some kind of reference to setup the order of build. But ...
TSDrake's user avatar
0 votes
1 answer
47 views

Visual Studio .sln changes when adding existing project that do not relate to added project

When i add an existing project to my solution, visual studio makes changes to lines concerning other projects in the sln file. For example i added the MyProjectE to my solution which already existed ...
Schmank's user avatar
  • 317
1 vote
1 answer
207 views

SLN Configuration File : mapping issues

I want to customise the sln file of my solution to manage: 3 projects 5 configurations: Debug, Production_total, Production_Partial, Release and Recette Each configuration should use "Any CPU&...
8oris's user avatar
  • 383
0 votes
0 answers
80 views

Dotnet build of solution containing projects with different target frameworks

I have a solution containing multiple projects. To simplify: The Gui project targets net7.0-android and net7.0-windows10.0.19041.0 The Library project targets net7.0 and is referenced by the Gui ...
user1527576's user avatar
1 vote
1 answer
195 views

MSB0001: Internal MSBuild Error: MSB0001: Internal MSBuild Error: Request 0 refers to configuration xx

When i want to build my solution in Visual studio I often (4 of the 5 build tries) get the error message: System.AggregateException: One or more errors occurred. ---> Microsoft.Build.Shared....
Roy's user avatar
  • 23
2 votes
2 answers
60 views

Can't use watcher.Filters.Add() function in .sln project

I am creating a project and I am using FileSystemWatcher, however I need to add multiple filters and watcher.Filters.Add() doesn't work. I am using .NET Framework ver. 4.8 and have .NET core 7.0.203 ...
AmsterdamGhoul's user avatar
0 votes
1 answer
91 views

Trying to copy a form I created to a new project so I can reference it from multiple projects. Event 'Click' cannot be found

I previously created a windows form in a vb.net project but now I realized I can use this form in various other projects. Instead of copying the code to every project I want to use it in, I'm trying ...
lmac02's user avatar
  • 3
0 votes
1 answer
42 views

How can I create a VisualStudio2015 solution from a given directory structure?

Suppose I have isolated some header and source files from a huge CMake C++ project. C:\USERS\PC\SOURCE\REPOS\my_app_src ├───apps {a.hh, b.cc, c.hh, d.cc} │ └───biosimulations {main1.hh, main1.cc, x....
user366312's user avatar
  • 16.4k
1 vote
1 answer
308 views

Why does Visual Studio 2022 display an error message when editing dependencies "String value ' ' cannot be translated to any value from System.Guid."?

I have a project which I am using as a simple testbed for a graphical application. I am attempting to add a shared project file (.shproj), but whenever I try to edit the project's dependencies, I get ...
Victor Chelaru's user avatar
0 votes
1 answer
176 views

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 ...
DuckPunk's user avatar
0 votes
1 answer
331 views

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 &...
April Gray's user avatar
0 votes
1 answer
531 views

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 ...
POVR2's user avatar
  • 65
0 votes
1 answer
627 views

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 ...
gal.hadar115's user avatar

15 30 50 per page
1
2 3 4 5
7