473,770 Members | 5,880 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Commo n.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 "GenerateTrustI nfo" task failed unexpectedly.
System.Argument Exception:
Parameter name: targetZone
at
Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.SecurityU tilities.GetNam e
dPermissionSetF romZone(String targetZone)
at
Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.SecurityU tilities.Comput e
ZonePermissionS et(String targetZone, PermissionSet includedPermiss ionSet,
String[] excludedPermiss ions)
at Microsoft.Build .Tasks.Generate TrustInfo.Execu te()
at Microsoft.Build .BuildEngine.Ta skEngine.Execut eTask(Execution Mode
howToExecuteTas k, Hashtable projectItemsAva ilableToTask, BuildPropertyGr oup
projectProperti esAvailableToTa sk)
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50215 \Microsoft.Comm on.targets
2171 9
The GenerateTrustIn fo is set up as the following (this is where the cursor
is placed when I double click the error):

<GenerateTrustI nfo
BaseManifest="@ (BaseManifestWi thTargetPath)"
ExcludedPermiss ions="$(Exclude dPermissions)"
TargetZone="$(T argetZone)"
TrustInfoFile=" @(IntermediateT rustInfoFile)">
<Output TaskParameter=" TrustInfoFile" ItemName="FileW rites"/>
</GenerateTrustIn fo>

--
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 1594

"Wayne" <Me******@commu nity.nospam> wrote in message
news:%2******** ********@tk2msf tngp13.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.Commo n.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 "GenerateTrustI nfo" task failed unexpectedly.
System.Argument Exception:
Parameter name: targetZone
at
Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.SecurityU tilities.GetNam e
dPermissionSetF romZone(String targetZone)
at
Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.SecurityU tilities.Comput e
ZonePermissionS et(String targetZone, PermissionSet includedPermiss ionSet,
String[] excludedPermiss ions)
at Microsoft.Build .Tasks.Generate TrustInfo.Execu te()
at Microsoft.Build .BuildEngine.Ta skEngine.Execut eTask(Execution Mode
howToExecuteTas k, Hashtable projectItemsAva ilableToTask,
BuildPropertyGr oup
projectProperti esAvailableToTa sk)
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50215 \Microsoft.Comm on.targets
2171 9
The GenerateTrustIn fo is set up as the following (this is where the cursor
is placed when I double click the error):

<GenerateTrustI nfo
BaseManifest="@ (BaseManifestWi thTargetPath)"
ExcludedPermiss ions="$(Exclude dPermissions)"
TargetZone="$(T argetZone)"
TrustInfoFile=" @(IntermediateT rustInfoFile)">
<Output TaskParameter=" TrustInfoFile" ItemName="FileW rites"/>
</GenerateTrustIn fo>

--
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******** ******@TK2MSFTN GP14.phx.gbl...

"Wayne" <Me******@commu nity.nospam> wrote in message
news:%2******** ********@tk2msf tngp13.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.Commo n.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 "GenerateTrustI nfo" task failed unexpectedly.
System.Argument Exception:
Parameter name: targetZone
at
Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.SecurityU tilities.GetNam e dPermissionSetF romZone(String targetZone)
at
Microsoft.Build .Tasks.Deployme nt.ManifestUtil ities.SecurityU tilities.Comput e ZonePermissionS et(String targetZone, PermissionSet includedPermiss ionSet, String[] excludedPermiss ions)
at Microsoft.Build .Tasks.Generate TrustInfo.Execu te()
at Microsoft.Build .BuildEngine.Ta skEngine.Execut eTask(Execution Mode
howToExecuteTas k, Hashtable projectItemsAva ilableToTask,
BuildPropertyGr oup
projectProperti esAvailableToTa sk)
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50215 \Microsoft.Comm on.targets
2171 9
The GenerateTrustIn fo is set up as the following (this is where the cursor is placed when I double click the error):

<GenerateTrustI nfo
BaseManifest="@ (BaseManifestWi thTargetPath)"
ExcludedPermiss ions="$(Exclude dPermissions)"
TargetZone="$(T argetZone)"
TrustInfoFile=" @(IntermediateT rustInfoFile)">
<Output TaskParameter=" TrustInfoFile" ItemName="FileW rites"/>
</GenerateTrustIn fo>

--
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******@commu nity.nospam> wrote in message
news:ee******** ******@TK2MSFTN GP09.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: "GenerateTrustI nfo" in the stack
dump.
This...:

C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50215 \Microsoft.Comm on.targets
2171 9
.... indicates the failing line/pos in the Microsoft.Commo n.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******** ******@TK2MSFTN GP12.phx.gbl...

"Wayne" <Me******@commu nity.nospam> wrote in message
news:ee******** ******@TK2MSFTN GP09.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: "GenerateTrustI nfo" in the stack
dump.
This...:

C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50215 \Microsoft.Comm on.targets
2171 9
... indicates the failing line/pos in the Microsoft.Commo n.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
1292
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 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...
5
2338
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 Framework (v2.0.50727) and the Setup of my prject, I get some nasty error: "MyApplication has encountered a problem and needs to close. We are sorry for the inconvenience" with the well-known "Send Error Report" and "Don't Send"-buttons. I tried it on...
0
1067
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 originally posted at
7
2623
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 compiler message is this: VCSelectLibraryForm.cpp ...\Forms\QiForm.h(48) : error C3395: 'TQiForm::GetDotNetMouseButton' :
2
2286
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 "tests". Also, VC++ 2005 beta 1 compiles the tests fine, but here the following tests fail in execution: # semaphore1.pass \ # condvar2.pass \ # condvar2_1.pass \ # mutex8.pass \
6
1687
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 to call my unmanaged libraries using IJW.
2
2944
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: error _pRawDllmain already defined in MyMFCDll.obj File: mfcs80ud.lib Google seems to hint that this is a bug in VS 2005 beta 2 wizard. Unfortuantely I am not able to switch to a later build since I am using
2
1655
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 instance, you can have Language="vb" CodeBehind="classA.cs" In VS 2005, the CodeBehind attribute seems to have been replaced with
10
1464
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 time before it actually starts compiling. If I modify something inside WebSite project itself without modifying DLL, it takes few seconds to compile. Why? How can I control this behavior? I was able to reproduce this behavior by creating a...
0
9595
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9432
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10232
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10059
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8891
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7420
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5454
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.