Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-13-2006, 02:17 PM
Durtybirds Durtybirds is online now
Registered User
 
Join Date: 02-13-2006
Location: Atlanta, Ga
Posts: 4
Building VS.Net Web Projects

What I am trying to do is build a VS.Net Web Project.
1. I Delete the IIS virtual Directory
2. I recreate the Virtual Directory
3. In my case, I cchange the assemblyinfo.cs file modifying references
4. I try to compile the project

The website I create via the Action supplied does grant annon access to all , and Ive set it at read and write

On the VS.Net action I have the following info
Filename : http://localhost/NetworkActivityRepo...Reports.csproj

Checked Clear the target executables read only flag for each project
Checked parse Build Output for failed prokects
Configuration seleceted , Release selected
Checked Update the output directory for each project, to a bin folder I stated , C:\Test\bin


I am getting the following error when I try to compile a web project.

2/13/2006 1:00:45 PM: Building project step 'Build NetworkActivity Reports Project'...
Pre-processing...
http://localhost/NetworkActivityRepo...roj...Updating output directory for Release configuration...
Error pre-processing project file 'http://localhost/NetworkActivityReports/NetworkActivityReports.csproj': URI formats are not supported.
2/13/2006 1:00:46 PM: Step 'Build NetworkActivity Reports Project' failed
2/13/2006 1:00:46 PM: Build ended.

I can take the URL supplied, Open up VS.Net, File >> Open Project paste in http://localhost/NetworkActivityRepo...Reports.csproj an VS.Net will open the project. Change to release and build it there with no warnings.


All the options I have selected, I use on other non web csproj files with no issues.

Question can web projects only be built via a Solution file in Visual Bild ?

Let me know if anymore information needs to be supplied
Reply With Quote
  #2  
Old 02-13-2006, 02:19 PM
Durtybirds Durtybirds is online now
Registered User
 
Join Date: 02-13-2006
Location: Atlanta, Ga
Posts: 4
Just a FYI , for some reason its not displaying properly but It is "http://localhost/NetworkActivityReports/NetworkActivityReports.csproj" Everywhere you see a link.
Reply With Quote
  #3  
Old 02-13-2006, 06:19 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The 'Update the output directory' option can't be used when building web projects via their http path. Either specify the .sln file instead, or create a separate no-build Make VS.NET step to update the output path, specifying either the .sln file or the local filename for the .csproj file.
Reply With Quote
  #4  
Old 02-14-2006, 09:28 AM
Durtybirds Durtybirds is online now
Registered User
 
Join Date: 02-13-2006
Location: Atlanta, Ga
Posts: 4
I found the answer. We dont allow the developers to check in thier .sln files. With that said this also means I dont get the csproj.webinfo file. I got around this error by doing the following

I added a Write file step above the Make VS.Net proj. In this file I write the following

<VisualStudioUNCWeb>
<Web URLPath = "http://localhost/NetworkActivityReports/NetworkActivityReports.csproj" />
</VisualStudioUNCWeb>

I then save the file as NetworkActivityReports.csproj.webinfo

I then call the project via its path c:\NetworkActivityReports\NetworkActivityReports.c sproj

This allows me to compile and set the output directory.

Does anyone see any issues with the way I am compiling this project ? The code works after compiling.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 09:39 AM.


Copyright © 1999-2023 Kinook Software, Inc.