PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Mar 29, 2024 1:04 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Mar 16, 2008 4:34 am 
Offline

Joined: Sun Mar 16, 2008 3:21 am
Posts: 2
I'm trying to compile the PDFSharp library using or not the Visual Studio 2005. I try to compile using the built cmd:
call "%vs80comntools%vsvars32.bat"
MSBuild PDFsharp.sln /t:Rebuild /p:Configuration=Release

But, the error result is the same:
PdfSharp\PdfSharpException.cs PdfSharp\PSSR.cs PdfSharp\VersionInfo.cs
CSC : error CS1548: Cryptographic failure while signing assembly 'c:\PDFsharp 1.00 release SourceForge.net\PDFSharp-1.0.898\PDFsharp\PdfSharp\obj\Release\PdfSharp.dll' -- 'Access is denied. '
Done building target "CoreCompile" in project "PdfSharp.csproj" -- FAILED.

Done building project "PdfSharp.csproj" -- FAILED.
Target Resources\PdfSharp_Resources:Rebuild:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\..\..\vc\vcpackages\vcbuild.exe /rebuild "C:\PDFsharp 1.00 release SourceForge.net\PDFSharp-1.0.898\PDFsharp\PdfSharp\Resources\PdfSharp.resources.vcproj" "Release|Win32"
PdfSharp.Resources : warning PRJ0042: The 'Outputs' property for the custom build step for file 'Messages.de.de.txt' is not set. The custom build step will be skipped.
Done building target "Resources\PdfSharp_Resources:Rebuild" in project "PDFsharp.sln".
Done building target "Rebuild" in project "PDFsharp.sln" -- FAILED.

Done building project "PDFsharp.sln" -- FAILED.

Build FAILED.
PdfSharp.Resources : warning PRJ0042: The 'Outputs' property for the custom build step for file 'Messages.de.de.txt' is not set. The custom build step will be skipped.
CSC : error CS1548: Cryptographic failure while signing assembly 'c:\PDFsharp 1.00 release SourceForge.net\PDFSharp-1.0.898\PDFsharp\PdfSharp\obj\Release\PdfSharp.dll' -- 'Access is denied. '
1 Warning(s)
1 Error(s)

Time Elapsed 00:00:08.68

It canĀ“t generate the DLLs. It is not a security problem because there are full access into the directory. Could anybody help me? I already read the forum index, but the tips could not help me. What is the problem?
Thanks
Emir T.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 17, 2008 4:16 am 
Offline

Joined: Sun Mar 16, 2008 3:21 am
Posts: 2
By the way, if I disable the signature properties to compile, it is possible compile, but the zip file I got from source forge. When I disabled that option, it was possible to compile. Could anybody give me a tip?
Thanks
Emir T.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 17, 2008 10:05 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
I see several "'Access is denied. '" messages.
Compilation fails if assemblies are currently loaded - maybe by a sample program that is running, maybe by a virus scanner that scans the newly created DLL file before it was completely done.
I'm afraid I can't tell you what's going wrong - if you find out, please let us know!

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 19, 2009 4:45 pm 
Offline

Joined: Wed Aug 19, 2009 4:38 pm
Posts: 1
I had same problem. I removed all the StrongnameKey.snk files from all the projects in my Solution and it compiled ok.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 140 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group