Mark Barto's Blog
Technical Blog about the Microsoft .NET Platform and everything that surrounds it such as .Net, C#, BizTalk, WCF, ASP.NET, SQL, Silverlight, IIS ...Various: Howto create temporary files of specific size
Sometimes you want to have a file with a specific size for testing purposes.
Easily you can do that with the following command:
fsutil file createnew c:\onegb.txt 1073741824
This will create a file with the name onegb.txt with a size of 1GB.
Read More ...Framework: Mixed mode assembly is built against version 'v2.0.50727' of the runtime
When we were upgraded our project to Framework 4 and compiled we were getting the following error:
Read More ...Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
Microsoft Visual Studio 11 Developer Preview (ISO)
Visual Studio 11 Developer Preview is an integrated development environment that seamlessly spans the entire life cycle of software creation, including architecture, user interface design, code creation, code insight and analysis, code deployment, testing and validation.
VS: Turn off repairing file when user delete/modify file
Visual studio creates advertised shortcuts so that when you are starting the application it will check first of existence for each file and repair the file automatically if it is modified or deleted. But sometimes you don't want to have this behavior for each file so how to deal with that ?
Read More ...
Aspose.Words: Image file cannot be written to disk when using external images
I have a .docx template and have defined some mail merge fields and included an image from the web as link included. When I'm trying to save the document as output for HTML I'm getting the following error:
Image file cannot be written to disk. When saving the document to a stream either Images Folder should be specified or custom streams should be provided via ImageSavingCallback.
Read More ...