By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,182 Members | 1,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,182 IT Pros & Developers. It's quick & easy.

2005 Beta 2 compile error

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a

"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

P: n/a
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

P: n/a

"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.