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
3
votes
4 answers

Visual Studio 2017 hangs while loading a solution

I have a solution containing 4 projects. One .NET Framework project (Ananas) Two .NET Core project (Bananas & Cherries) One Xamarin project (Dewberries) Every time I start Visual Studio 2017 Community (15.6.2) and load the solution, it hangs…
Samir
  • 1,213
  • 1
  • 15
  • 27
3
votes
1 answer

Where solution build order is saved

I have a solution which contains multiple projects (csproj & btproj). I'm actually running BizTalk 2013 R2, so I'm developing under Visual Studio 2013. I have many powershell scripts to deploy my applications and I have to enhance them. I need to…
3
votes
1 answer

Why am I getting, "Object reference not set to an instance of an object." but no line of code is implicated?

When I try to build my VB.NET solution, I get the error, "Object reference not set to an instance of an object." but in the Error List pane, the File, Line, Column, and Project columns are blank: How can I solve the problem if it won't tell me…
2
votes
2 answers

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 installed. I have tried updating .NET framework. I…
2
votes
2 answers

Azure Pipelines VSBuild configuration is invalid

I am new to Azure and I have inherited a pipeline which was built by someone else who is no longer with the company. It's broken in many ways, so I am attempting to build a new one based on the original broken one I was given. I am doing this one…
2
votes
1 answer

Running dotnet test on webapi app with xunit

I am trying to setup a dotnet core webapi project with xunit, using latest versions, based on this guide : https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-dotnet-test (by the way, I have downloaded the github sample project…
Julien R
  • 406
  • 3
  • 13
2
votes
1 answer

Force extension installation in Visual Studio

We're working in quite a large project and is having a hard time getting people to configure their Visual Studio correct (tabs instead of spaces etc.). We found a great solution in using the EditorConfig extension for Visual Studio. However there…
2
votes
1 answer

Creating and linking a static library to visual basic windows forms application

I have created two programs in Visual Studio2010. One is a visual basic windows forms application(user frontend) which prompts the user to select a file path (.bin file). The second program is a Visual Studio C++ Application, which has a ReadFile()…
Sandrocottus
  • 521
  • 3
  • 8
  • 31
2
votes
2 answers

Is it possible to read/retrieve a c++ source code from a .sln file?

I sent a .sln file (instead of .cpp file) to a friend; will he be able to read the source code from it or is it just a file used from Visual Studio to load projects?
Alessandro
  • 1,046
  • 1
  • 11
  • 19
2
votes
1 answer

Which project types are not supported by Monodevelop?

When such project is exist in solution file, monodevelop writes: "The project type is not supported by MonoDevelop" Which project types (by their guids) are not supported in which versions? The lists of project types (which are supported by…
user1709408
  • 528
  • 4
  • 16
1
vote
1 answer

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.InternalErrorException: MSB0001: Internal MSBuild Error:…
1
vote
1 answer

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 a dialog which…
Victor Chelaru
  • 4,491
  • 3
  • 35
  • 49
1
vote
1 answer

MSBuild Ignore absent for every .csproj in .sln?

The project that I've cloned locally uses the following dependencies: netstandard2.0;MonoAndroid10.0;Xamarin.iOS10;Xamarin.Mac20;netcoreapp3.0;netcoreapp3.1;net40;net45;net46;net47;net48 I need to tell Visual…
Ivan Silkin
  • 381
  • 1
  • 7
  • 15
1
vote
0 answers

How to publish multiple project (.csproj) file with individual folder using msbuild powershell

I have Solution(.sln) file , SLN have multiple project(.csproj). I need to publish all project in individual project Folder. I am using below powershell command , This below command publish all project into one folder instead of Individual Project…
microset
  • 276
  • 1
  • 2
  • 12
1
vote
1 answer

How to include an across multiple .csproj files

Within Visual Studio (2019 in this case) solution, is there a way to specify an in a location that multiple .csproj files can use it within the solution? As an example, this ItemGroup is used in multiple .csproj files within Test.sln. …
Mike
  • 1,010
  • 1
  • 14
  • 33