|
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.
|
|
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.
|
|
Is it possible to create, edit, link, compile (is compile the word?) etc. assembly code in MSVC++?
Also, if it's not possible, how can I create an .exe out of plain text, ie: convert the text into whatever format is required to use assembly code, then...
Started by Keand64 on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
It may be ....
Look for information on the C++ 'asm' keyword.
You can use the __asm keyword to put assembly inline in your standard source files to use the ML and ML64 command line compilers for assembly.
On x86, yes.
|
|
I know about DIA api, dbghelp. But can i use them to extract type definition location info such as file, begin_line, begin_column, end_line, end_column from my assembly and pdb generated?
If the answer is yes, can someone point me to the simple example...
Started by Jan Pavlik on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It can read pdb files, but there's no way I can see of getting a source location for a class, just members.
You could take a look at the Common Compiler Infrastructure - Metadata project on codeplex.
|
|
I'm trying to create a strongly typed partial view
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Pt.Data.Services>>" %> <table> <% foreach (Pt.Data....
Started by bug0r on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
3- RCI don't know of a reason that....
2- Make sure you added a reference to the source project.
Still I can recommend:
1- Make sure the source you're using is the same the assembly was built off.
Its own build output(assembly).
|
|
I am learning concepts related to .NET framework. I am confused at one point. From what I understand the compilers CSC.exe and AL.exe compiles the files to form assembly based on the switches. So my question is 1) Different compilers in .NET framework...
Started by Justin on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The C# compiler for C# source....
The assembly contains the MSIL translation of the source files, which the CLR, it runs the compiler appropriate to the kind of files in your project (e.g.
Yes, that is correct.
|