Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

Severity Code Description Project File Line Suppression State Error MSB3021

This happens because another process is using your project's resources, or you have insufficiant privilages to modify them.

Try the following actions:

"As soon as I open again my database the problem repeats herself" - Do not open your database while trying to build - you are locking the mdf file.

Open your task manager and look for a process of your application, it might be running in the background. If it does, kill it.

Make sure you are building in "Debug" mode and not in "Release" mode. If you are, there could be a production EXE running somewhere.

Close and reopen Visual Studio.

Start Visual Studio as administrator.
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# check that value is not null or 0 
Csharp :: autoit console write 
Csharp :: how to get gravity from Rigidbody2D in c# 
Csharp :: sends keys enter selenium c# 
Csharp :: asp.net core update-database specify environment 
Csharp :: unity get velocity at point 
Csharp :: summernote dropdown plugin 
Csharp :: show datatable c# 
Csharp :: how to convert int to string c# 
Csharp :: how to show a first item in a combobox in c# winforms 
Csharp :: c# WriteLine() 
Csharp :: insert data to access database c# 
Csharp :: c# getting response content from post 
Csharp :: implicit vs explicit cast c# 
Csharp :: Transpose Matrix CSharp 
Csharp :: triangle 
Csharp :: linq where condition c# 
Csharp :: how to use var in c# 
Csharp :: c# quick "is" "as" 
Csharp :: ExpandoObject Add PropertyName and PropertyValue Dynamically 
Csharp :: c sharp xml prettier 
Csharp :: command parameter wpf 
Csharp :: print bitmap company logo c sharp 
Csharp :: user (current login user) in viewcomponent 
Csharp :: if exist request c# 
Csharp :: c# Unit Test IDbContextFactory 
Csharp :: add RowDefinition from cs xamarin 
Csharp :: c# bitwise and 
Csharp :: params string[] 
Csharp :: How do I remove a String Array from a List in C# 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =