Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / February 2006

Tip: Looking for answers? Try searching our database.

Error dialog on when building custom project file, VS 2005 Prof

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tlareywi - 19 Feb 2006 20:30 GMT
I have a custom project file type for a language I'm integrating with VS
using the MPF. When I build a project based from this template within the IDE
I always get an error dialog "Value does not fall within expected range"
after the build completes successfully. If I run MSBuild on the same project
via the command line there are no problems. Ideas? I've pasted my project
template xml below.

<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 <PropertyGroup>
   <Configuration Condition=" '$(Configuration)' == ''
">xxxExt</Configuration>
   <Name>"Application"</Name>
   <ProductVersion>8.0.50727</ProductVersion>
   <xxxRuntimes>Set to the full path of your xxx exe</xxxRuntimes>
   <xxx_PATH>.;</xxx_PATH>
   <EntryScript>.\entry.xxx</EntryScript>
 </PropertyGroup>
 <PropertyGroup Condition=" '$(Configuration)' == 'xxxExt' ">
 </PropertyGroup>
 <ItemGroup>
   <Compile Include="entry.xxx">
     <SubType>Code</SubType>
   </Compile>
 </ItemGroup>
 <Target Name="Build">
   <Exec Command=""$(xxxRuntimes)" "$(EntryScript)"" IgnoreExitCode="false"/>
 </Target>
 <Target Name="Compile"/>
</Project>
tbirdsall@gmail.com - 20 Feb 2006 04:01 GMT
Hi,

It may help to increase the build verbosity.

All you need to do is to go into the Tools->Options menu, and go to
Projects and Solutions->Build and Run and change the value of the
MSBuild project build output verbosity.  You can pick between Quiet,
Minimal, Normal, Detailed and Diagnostic. I would recommend Normal.

http://blogs.msdn.com/msbuild/archive/2005/09/29/475157.aspx

Hope this helps.

Signature

Tod Birdsall, MCSD for .Net
software blog: http://tod1d.net

tlareywi - 20 Feb 2006 19:03 GMT
Tried increasing to diagnostic but this didn't provide any useful info. The
build succeeds without errors, there's just this exception afterward. In my
debug info window the exception is the following,

A first chance exception of type 'System.ArgumentException' occurred in
mscorlib.dll
Exception : Value does not fall within the expected range.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.