Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to read project

Status
Not open for further replies.
Aug 1, 2003
39
US
When opening a solution with a .sln extension. VStudio 2000 opens and the project starts to open then every file in the solution .vbproj, vdproj will not open.
Each file I get the message similar to

Unable to read the project nameoffile.vbproj. The system cannot find the specified path.

How can I get these .vbproj and vdproj's to open.

This solution is from a preplogic book cd example. I have moved the zip files off the cd and expanded the zip files for the solution into its own folder. Taken off read and hidden on all files.

Thanks
Brian
 
do the projects open if you try to open them alone?

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
What a wonderfull world - Louis armstrong
 
I'm suspecting a dependency in your project file is not being found.

You can open your .vbproj file in Notepad and see what it has references to, and make sure they exist.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Every Project in the Solution says the project file cannot be found. They are there in the projects path but are not being found by visual studio.
Also opened the file netsql.vbproj one of the project files that did not open. One of the projects that could not open and this is the code in it.

<VisualStudioProject>
<VisualBasic
ProjectType = "Local"
ProductVersion = "7.0.9466"
SchemaVersion = "1.0"
ProjectGuid = "{8E6AB396-7957-4492-B4A7-FA755B09A8E7}"
>
<Build>
<Settings
ApplicationIcon = ""
AssemblyKeyContainerName = ""
AssemblyName = "NetSql"
AssemblyOriginatorKeyFile = ""
AssemblyOriginatorKeyMode = "None"
DefaultClientScript = "JScript"
DefaultHTMLPageLayout = "Grid"
DefaultTargetSchema = "IE50"
DelaySign = "false"
OutputType = "WinExe"
OptionCompare = "Binary"
OptionExplicit = "On"
OptionStrict = "Off"
RootNamespace = "NetSql"
StartupObject = "NetSql.NetSql"
>
<Config
Name = "Debug"
BaseAddress = "285212672"
ConfigurationOverrideFile = ""
DefineConstants = ""
DefineDebug = "true"
DefineTrace = "true"
DebugSymbols = "true"
IncrementalBuild = "true"
Optimize = "false"
OutputPath = "bin\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "1"
/>
<Config
Name = "Release"
BaseAddress = "285212672"
ConfigurationOverrideFile = ""
DefineConstants = ""
DefineDebug = "false"
DefineTrace = "true"
DebugSymbols = "false"
IncrementalBuild = "false"
Optimize = "true"
OutputPath = "bin\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "1"
/>
</Settings>
<References>
<Reference
Name = "System"
AssemblyName = "System"
/>
<Reference
Name = "System.Data"
AssemblyName = "System.Data"
/>
<Reference
Name = "System.Drawing"
AssemblyName = "System.Drawing"
/>
<Reference
Name = "System.Windows.Forms"
AssemblyName = "System.Windows.Forms"
/>
<Reference
Name = "System.XML"
AssemblyName = "System.Xml"
/>
</References>
<Imports>
<Import Namespace = "Microsoft.VisualBasic" />
<Import Namespace = "System" />
<Import Namespace = "System.Collections" />
<Import Namespace = "System.Data" />
<Import Namespace = "System.Drawing" />
<Import Namespace = "System.Diagnostics" />
<Import Namespace = "System.Windows.Forms" />
</Imports>
</Build>
<Files>
<Include>
<File
RelPath = "AssemblyInfo.vb"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "CustomersFromBrazil.sql"
BuildAction = "Content"
/>
<File
RelPath = "NetSql.vb"
SubType = "Form"
BuildAction = "Compile"
/>
<File
RelPath = "NetSql.resx"
DependentUpon = "NetSql.vb"
BuildAction = "EmbeddedResource"
/>
<File
RelPath = "TenMostExpensiveProducts.qry"
BuildAction = "None"
/>
</Include>
</Files>
</VisualBasic>
</VisualStudioProject>
 
I understand what the problem is now. I took a deeper look into the .sln file. Which gives the path to every project in the solution. The paths were not correct on every project in the .sln file.
Heres one example
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "NetSql", "NetSql.vbproj", "{8E6AB396-7957-4492-B4A7-FA755B09A8E7}"
EndProject

These few lines above where it shows "NETSQL.VBPROJ", the .sln file had put netsql|netsql.vbproj. I had to take a the folder which had been placed in front of each of the files to each project in the solution file out.

Thanks for all your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top