473,322 Members | 1,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

2005 Beta 2 compile error

This may not be the best group to ask in as the question is about the beta,
if there is a better place please point me to it.

I've had beta 1 installed, after a re-install of the OS this weekend I
installed beta 2. I opened a project that I had written with beta 1 and
tried to compile it, when I compile it I get the error below. I am not sure
what the error means nor do I know how to fix it. Is the
Microsoft.Common.targets file new to beta 2? Where can I find some info on
the file, it's contents, and what it's for? I've tried Google but wasn't
able to find anything (though it was late when I was working on this)
Error 60 The "GenerateTrustInfo" task failed unexpectedly.
System.ArgumentException:
Parameter name: targetZone
at
Microsoft.Build.Tasks.Deployment.ManifestUtilities .SecurityUtilities.GetName
dPermissionSetFromZone(String targetZone)
at
Microsoft.Build.Tasks.Deployment.ManifestUtilities .SecurityUtilities.Compute
ZonePermissionSet(String targetZone, PermissionSet includedPermissionSet,
String[] excludedPermissions)
at Microsoft.Build.Tasks.GenerateTrustInfo.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask)
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Micr osoft.Common.targets
2171 9
The GenerateTrustInfo is set up as the following (this is where the cursor
is placed when I double click the error):

<GenerateTrustInfo
BaseManifest="@(BaseManifestWithTargetPath)"
ExcludedPermissions="$(ExcludedPermissions)"
TargetZone="$(TargetZone)"
TrustInfoFile="@(IntermediateTrustInfoFile)">
<Output TaskParameter="TrustInfoFile" ItemName="FileWrites"/>
</GenerateTrustInfo>

--
Thanks
Wayne Sepega
Jacksonville, Fl

Enterprise Library Configuration Console Module Generator
http://workspaces.gotdotnet.com/elccmg

"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein

Nov 17 '05 #1
4 1575

"Wayne" <Me******@community.nospam> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
This may not be the best group to ask in as the question is about the
beta,
if there is a better place please point me to it.

I've had beta 1 installed, after a re-install of the OS this weekend I
installed beta 2. I opened a project that I had written with beta 1 and
tried to compile it, when I compile it I get the error below. I am not
sure
what the error means nor do I know how to fix it. Is the
Microsoft.Common.targets file new to beta 2? Where can I find some info on
the file, it's contents, and what it's for? I've tried Google but wasn't
able to find anything (though it was late when I was working on this)
Error 60 The "GenerateTrustInfo" task failed unexpectedly.
System.ArgumentException:
Parameter name: targetZone
at
Microsoft.Build.Tasks.Deployment.ManifestUtilities .SecurityUtilities.GetName
dPermissionSetFromZone(String targetZone)
at
Microsoft.Build.Tasks.Deployment.ManifestUtilities .SecurityUtilities.Compute
ZonePermissionSet(String targetZone, PermissionSet includedPermissionSet,
String[] excludedPermissions)
at Microsoft.Build.Tasks.GenerateTrustInfo.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup
projectPropertiesAvailableToTask)
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Micr osoft.Common.targets
2171 9
The GenerateTrustInfo is set up as the following (this is where the cursor
is placed when I double click the error):

<GenerateTrustInfo
BaseManifest="@(BaseManifestWithTargetPath)"
ExcludedPermissions="$(ExcludedPermissions)"
TargetZone="$(TargetZone)"
TrustInfoFile="@(IntermediateTrustInfoFile)">
<Output TaskParameter="TrustInfoFile" ItemName="FileWrites"/>
</GenerateTrustInfo>

--
Thanks
Wayne Sepega
Jacksonville, Fl

Enterprise Library Configuration Console Module Generator
http://workspaces.gotdotnet.com/elccmg

"When a man sits with a pretty girl for an hour, it seems like a minute.
But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein


Are your Beta1 projects loaded from a file share? Did you grant fulltrust
CAS to this location?

I would suggest you to post VS2005 Beta2 issues to the public Beta2 Forum
at http://forums.microsoft.com/msdn/def...ForumGroupID=6
Willy.


Nov 17 '05 #2
Everything is on the local drive, same place it was when Beta 1 was
installed.

Not sure what CAS is. Thanks for the link, I've posted the original question
there.
Wayne
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:uD**************@TK2MSFTNGP14.phx.gbl...

"Wayne" <Me******@community.nospam> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
This may not be the best group to ask in as the question is about the
beta,
if there is a better place please point me to it.

I've had beta 1 installed, after a re-install of the OS this weekend I
installed beta 2. I opened a project that I had written with beta 1 and
tried to compile it, when I compile it I get the error below. I am not
sure
what the error means nor do I know how to fix it. Is the
Microsoft.Common.targets file new to beta 2? Where can I find some info on the file, it's contents, and what it's for? I've tried Google but wasn't
able to find anything (though it was late when I was working on this)
Error 60 The "GenerateTrustInfo" task failed unexpectedly.
System.ArgumentException:
Parameter name: targetZone
at
Microsoft.Build.Tasks.Deployment.ManifestUtilities .SecurityUtilities.GetName dPermissionSetFromZone(String targetZone)
at
Microsoft.Build.Tasks.Deployment.ManifestUtilities .SecurityUtilities.Compute ZonePermissionSet(String targetZone, PermissionSet includedPermissionSet, String[] excludedPermissions)
at Microsoft.Build.Tasks.GenerateTrustInfo.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup
projectPropertiesAvailableToTask)
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Micr osoft.Common.targets
2171 9
The GenerateTrustInfo is set up as the following (this is where the cursor is placed when I double click the error):

<GenerateTrustInfo
BaseManifest="@(BaseManifestWithTargetPath)"
ExcludedPermissions="$(ExcludedPermissions)"
TargetZone="$(TargetZone)"
TrustInfoFile="@(IntermediateTrustInfoFile)">
<Output TaskParameter="TrustInfoFile" ItemName="FileWrites"/>
</GenerateTrustInfo>

--
Thanks
Wayne Sepega
Jacksonville, Fl

Enterprise Library Configuration Console Module Generator
http://workspaces.gotdotnet.com/elccmg

"When a man sits with a pretty girl for an hour, it seems like a minute.
But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein


Are your Beta1 projects loaded from a file share? Did you grant fulltrust
CAS to this location?

I would suggest you to post VS2005 Beta2 issues to the public Beta2 Forum
at http://forums.microsoft.com/msdn/def...ForumGroupID=6
Willy.

Nov 17 '05 #3

"Wayne" <Me******@community.nospam> wrote in message
news:ee**************@TK2MSFTNGP09.phx.gbl...
Everything is on the local drive, same place it was when Beta 1 was
installed.

Not sure what CAS is. Thanks for the link, I've posted the original
question
there.
Wayne


CAS = Code Acces Security, the error relates to an issue with trust
generation (now inclded with VS2005) see: "GenerateTrustInfo" in the stack
dump.
This...:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Micr osoft.Common.targets
2171 9
.... indicates the failing line/pos in the Microsoft.Common.targets file when
building the project file.
I suggest you try to create a new project and move your existing code item
to it.

Willy.

Nov 17 '05 #4
Ok, thought about creating the new project. Will try that tonight. I've
looked at the file in question, not really sure what the file is and haven't
been able to find anything about it in the help or on the web to help fix
the issue.

I'll let you know Monday how creating the new project goes.
Wayne

"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:#G**************@TK2MSFTNGP12.phx.gbl...

"Wayne" <Me******@community.nospam> wrote in message
news:ee**************@TK2MSFTNGP09.phx.gbl...
Everything is on the local drive, same place it was when Beta 1 was
installed.

Not sure what CAS is. Thanks for the link, I've posted the original
question
there.
Wayne
CAS = Code Acces Security, the error relates to an issue with trust
generation (now inclded with VS2005) see: "GenerateTrustInfo" in the stack
dump.
This...:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Micr osoft.Common.targets
2171 9
... indicates the failing line/pos in the Microsoft.Common.targets file

when building the project file.
I suggest you try to create a new project and move your existing code item
to it.

Willy.


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Wayne | last post by:
This may not be the best group to ask in as the question is about the beta, if there is a better place please point me to it. I've had beta 1 installed, after a re-install of the OS this weekend...
5
by: DraguVaso | last post by:
Hi, I tried to deploy an application written in VB.NET 2005, with the Release Candidate. Everything works fine on my pc which has the Visual Studio installed, but when I install the .NET...
0
by: Dilip | last post by:
Vaclav I have taken the liberty to cross-post this microsoft.public.dotnet.languages.vc which has more visibility from MSFT VC++ team. thanks --Dilip Actual post by Vaclav Haisman...
7
by: Gustavo L. Fabro | last post by:
Greetings! Some classes that once compiled without problems on VS 2003 have now problems on VS 2005 Beta 1. I'm talking about a __nogc class that is exported with __declspec(dllexport). The...
2
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory...
6
by: Heloise | last post by:
Hi, ..NET version: Visual C++ 2005 Express Edition Beta OS: XP I have a set of dlls built with .NET 2003. They are unmanaged C++ and C code. I am writing a managed C++ dll layer...
2
by: bonk | last post by:
When I try to compile a MFC extension dll with /CLR in VS 2005 Beta 2. I get the following link errors: LNK2005: error _DLLMain@12 already defined in MyMFCDll.obj File: mfcs80ud.lib LNK2005:...
2
by: rjack | last post by:
I'm using VS 2005 Beta 2. In VS 2003, the Page directive in an aspx page has Language and CodeBehind attributes. You can have the language be different than the code behind file language. For...
10
by: Amelyan | last post by:
It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website when external DLL is modified. As a matter of fact, when I click 'Build', it looks like VS 2005 hangs for most of that...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.