|
I am encountering a strange build issue in .NET 3.5. The compiler is crashing when it attempts to build a Web Deployment Project.
C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(531,9): error MSB6006: "aspnet_compiler...
Started by EndangeredMassa on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Also, check to see if your website is using Impersonation or an alternate... .
Try clearing out your [Windows folder]\Microsoft .NET\Framework\2.0xxx\Temporary ASP.NET Files*.* folder - that can sometimes get gummed up with GB's of temp files.
|
|
I am considering parsing simple math equations by compiling from source at runtime. I have heard that there are security considerations that I should be aware of before using this approach, but I can’t find any info on this.
Thanks
C# .net 2.0, winforms...
Started by Brad on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Running the resulting code is certainly a security risk though out to a compiler in order to validate....
Make buffer overrun in the compiler.
Also, even on a desktop, running a compiler just to evaluate an equation is really slow.
|
|
I am trying to optimize a lot of multiplications and pointer arithmetics and would like to see what the compiler does underneath when I put in optimization flags.
--Edit--
How to restrict it to a specific function or a code block?
--Edit_2--
How to let...
Started by Andrei on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Edit: Do not forget that it will place the assembly to the files you specified under....
You could stop youAdd -S switch to your command line .
file (and use a different command-line parameter for that one source file).
|
Ask your Facebook Friends
|
I'll make this short and to the point. The _asm block has been completely stripped when creating 64 bit code in Visual Studio. My question is, where can I find some information on how to use assembly in some code that I can call from my project. Like ...
Answer Snippets (Read the full thread at stackoverflow):
You could, of course, just use intrinsics and let the compiler do some....
Its not too difficult though.
If you write an external assembly file then you need to make sure that it supports the calling convention of the compiler.
|
|
Let's say you have a class library project that has any number of supplemental files that also need to be included with the compiled assembly (e.g. simple text files or even a legacy unmanaged DLL that's wrapped by the assembly as an interop layer). While...
Started by iammichael on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
If you use Subversion for....
Unfortunately see the use case.
Instructions in the Assembly resources and un-wrap them to disk when run for the first time.
Want to create a multifile assembly using the /linkresource C# compiler option.
|
|
Everything I've read seems to imply that building a cross-compiler is significantly harder than building a compiler that targets the platform it runs on. Is this true? If so, why? It seems like generating assembly code and system calls for an arbitrary...
Started by dsimcha on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
A compiler is not only translating source code into asm and system callsIs it possible that you're looking at a specific case like 'building GCC as a cross compiler surrounding libraries - for....
On the compiler architecture.
|
|
Is anyone aware of a way to make visual studio completely ignore a file when compiling? I have a C# solution that has a foo.config file that isn't really a standard config file - it's just a text file. During compiling VS grabs a hold of the file and ...
Started by VanOrman on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Are you sure....
If you still want to see it in your of the project .
For instance (in VS2005), in a C++ solution I can right click on the source file name in the solutionJust right click on the file and choose "Exclude from project".
|
|
Now, I'm writing VS 2008 Macro for replace Assembly version in AssemblyInfo.cs file. From MSDN, Assembly version must be wrote by using the following pattern.
major.minor[.build[.revision]]
Example
1.0 1.0.1234 1.0.1234.0 I need to dynamically generate...
Started by Soul_Master on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Search for:
^{\[assembly\: :w\(\"0\.1 by searching for lines beginning....
How about just compiling your assembly and then reflectingThis is somewhat crude, but you could do the following.
Edge cases and that's the C# compiler.
|
|
I've installed ELMAH 1.1 .Net 3.5 x64 in my ASP.NET project and now I'm getting this error (whenever I try to see any page):
Could not load file or assembly 'System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one...
Started by J. Pablo Fernández on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It contains both managed code.
System.Data.SQLite.dll is a mixed assembly, i.e.
The .net framework.
|
|
I'm trying to do something that gets a cs file in runtime from user make it meaningful to assembly get its properties, methods etc.
Is there a way to do this by reflection in C#?
Started by yapiskan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
That uses CSharpCodeProvider, so you could use it as sample code... .
You can download the source code for my snippet compiler, Snippy, from the C# in Depth web site .
You can compile it reasonably easily using the CSharpCodeProvider .
|