2016-03-25 10 views
0

Visual Studio 2015'te F # proje oluşturma ile ilgili sorun yaşıyorum. Tek bir kodlama oturumu sırasında birkaç kez oluşturmaya çalışırken, ne ben ,VS 2015, başka bir işlem tarafından dll kullanıldığından proje oluşturmak,

C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsc.exe -o:obj\Debug\[project_name.dll] -g --debug:full --noframework --define:DEBUG --define:TRACE --doc:bin\Debug\[project_name.XML] --optimize- --tailcalls- --target:library --warn:3 --warnaserror:76 --vserrors --LCID:1033 --utf8output --fullpaths --flaterrors --subsystemversion:6.00 --highentropyva+ --sqmsessionguid:bf374a59-aa1c-49c7-bd0e-2ca680563929 --[list of referenced dlls and files to build]

...

warning MSB3026: Could not copy "obj\Debug\[project_name_dll]" to "bin\Debug\[project_name_dll]". Beginning retry 10 in 1000ms. The process cannot access the file 'bin\Debug\[project_name_dll]' because it is being used by another process.

error MSB3027: Could not copy "obj\Debug\[project_name_dll]" to "bin\Debug\[project_name_dll]". Exceeded retry count of 10. Failed.

error MSB3021: Unable to copy file "obj\Debug\[project_name_dll]" to "bin\Debug\[project_name_dll]". The process cannot access the file 'bin\Debug\[project_name_dll]' because it is being used by another process.

Bu projenin dll engelliyor süreç, değiştirilecek ortaya çıktı devenv kendisidir: alma olduğunu. Visual Studio'nun tek bir örneğini çalıştırıyorum ve bir hata ayıklayıcısı olmayan bir projeyi yeniden oluşturmaya çalışıyorum.

Herhangi bir ipucu, bu sorunu nasıl giderebilirim?

+0

Depo dosyalarınızı el ile silmeyi denediniz mi? – Ringil

+0

Yapamam, çünkü explorer bana anlatıyor, bu proje .dll dosyası Visual Studio'da zaten açık. – Horusiath

+0

Peki o zaman VS kapatmayı ve sonra bin klasörlerini el ile silmeyi denemelisiniz. – Ringil

cevap

0

Eğer fsi kullanıyorsanız ve dll'leri yüklediyseniz, sorun budur. Fsi oturumunuzu sıfırlayın ve temizleyecektir.

İlgili konular