spaceclown
|
| Posted: 04/24/2002, 12:08 PM |
|
I am trying out CC studio and think it is very sleek. I am making a test app just to look at your product and ran into problems.
This is the error:
Server Error in '/csharp' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'test.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="test.Global" %>
Source File: c:\inetpub\wwwroot\csharp\global.asax Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
Test is the name of the project and I am using the portal app supplied with studio. I have the csharp directory in IIS set up as a app. Any ideas?
|
|
|
 |
spaceclown
|
| Posted: 04/24/2002, 12:44 PM |
|
This happens on all projects I create
|
|
|
 |
Stan Skorobogach
|
| Posted: 04/24/2002, 10:34 PM |
|
Hi
You may need to specify the path to .NET Framework in CCS options. Go to the Tools>Options menu and select Paths, then enter path in .NET SDK field. Usualy it looks like C:\WINNT\Microsoft.NET\Framework\v1.0.3705
|
|
|
 |
spaceclown
|
| Posted: 04/25/2002, 5:46 AM |
|
I still recieved the error after changing the paths. When compiled I opened the message window and this is the last few lines.
Output
U:\>REM _MakeAll @1-DB3FF43B
U:\>C:\WINNT\Microsoft.NET\Framework\v1.0.3705\csc /w:2 /t:library /out:bin\NewProject3.dll /r:System.dll /r:System.Web.dll /r:System.Xml.dll /r:System.Data.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.
fatal error CS2008: No inputs specified
Not sure what the deal with the U: drive, I do have a mapped drive to U: but it has nothing to do with CCS. I have CCS installed on the C:
|
|
|
 |
Stan Skorobogach
|
| Posted: 04/25/2002, 6:34 AM |
|
Well, looks like i found reason of this. Please try following:
1. Go to the CCS install dir\Components\CodeTemplates\C#\
2. Open AppBuild.js file and find line 32. It should be
var antCmd = "cmd /c "+path+"MakeAll.bat "+path.substring( 2, path.length)+" >> "+path+"build.log";
3. Replace it on following string:
var antCmd = "cmd /c "+path+"MakeAll.bat "+path+" >> "+path+"build.log";
4. Run CCS and try publish project.
|
|
|
 |
Stan Skorobogach
|
| Posted: 04/25/2002, 6:48 AM |
|
I am very sorry, but I mislead you in my last post. Please do the following:
1) Download http://www.codecharge.com/studio/download/files/vs.net/Main.ccl
and place it into
CodeCharge Studio/Components/CodeTemplates/C#/Site
2) Download http://www.codecharge.com/studio/download/files/vs.net/JScript.ccl
and place it into
CodeCharge Studio/Components/CodeTemplates/C#/Page
3) Download http://www.codecharge.com/studio/download/files/vs.net/AppBuild.js
and place it into
CodeCharge Studio/Components/CodeTemplates/C#/
Try to publish your project after downloading these new files.
|
|
|
 |
Spaceclown
|
| Posted: 04/26/2002, 6:30 AM |
|
Thanks alot Stan, everything works well now.
|
|
|
 |