मैं विजुअल एसवीएन क्लाइंट और सर्वर का उपयोग कर रहा हूं और वेब प्रोजेक्ट्स के लिए अपेक्षित काम करने की आवश्यकताओं में से एक है, उसी निर्देशिका में रूट (एसएल) को अन्य फाइलों के रूप में रखना है।वेब प्रोजेक्ट के समान निर्देशिका में आप विजुअल स्टूडियो सॉल्यूशन फ़ाइल (.sln) कैसे बनाते हैं?
मैंने सोचा कि यह सभी अतिरिक्त पैरेंट पथों को हटाने के समान सरल था ../ और अन्य सापेक्ष पथ और इसे सहेजना। हालांकि जब मैं इसे खोलने की कोशिश करता हूं तो विजुअल स्टूडियो को लॉक करता है।
क्या यह सुनिश्चित करने में सहायता के लिए इस प्रकार की समाधान फ़ाइल या समाधान फ़ाइल उपकरण बनाने का कोई मानक तरीका है? या क्या मैं बस कुछ बहुत याद कर रहा हूँ?
/
/MyWebsite.org.sln
/Images
/App_Data
/default.aspx
/default.aspx.cs
तो जाहिरा तौर पर चाल, कम से कम एक मैं मांग कर रहा था कि आप का उपयोग करना चाहिए है .. \ MyWebsite.org या जो कुछ भी है कि वेबसाइट फ़ाइलों वाले फ़ोल्डर।
[संपादित करें] मैं क्या सीखा है और इस विशेष परियोजना के लिए अपने अंतिम .sln फ़ाइल:
यहाँ अंतिम समाधान फ़ाइल है कि मुझे वेबसाइट खोलने के लिए और वेब फ़ोल्डर की जड़ में .sln के लिए अनुमति दी है ।
Project("{E24C65DC-7377-472B-9ABA-BCSG3B73C61A}") = "MyWebsite.org", "\", "{F8F4E96F-40BF-4374-B8BA-968D0SGG4A9E}"
ProjectSection(WebsiteProperties) = preProject
TargetFramework = "3.5"
Debug.AspNetCompiler.VirtualPath = "/MyWebsite.org"
Debug.AspNetCompiler.PhysicalPath = "..\MyWebsite.org\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\MyWebsite.org\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/MyWebsite.org"
Release.AspNetCompiler.PhysicalPath = "..\MyWebsite.org\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\MyWebsite.org\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
VWDPort = "1603"
VWDDynamicPort = "false"
VWDVirtualPath = "/"
EndProjectSection
EndProject
बस कोशिश की और यह काम किया। आप एसएलएन को भी संपादित कर सकते हैं जैसा मैंने किया था और जैसा कि किसी और ने सुझाव दिया था। लेकिन यह सबसे अच्छा जवाब है। –