Questions tagged as '.net-assembly'

1
answer

Increasing the AssemblyVersion

I'm creating an update solution for an application that I have and I needed the Assembly version When putting a * in the assembly. [assembly: AssemblyVersion("1.0.0.*")] It started incrementing automatically, however the shape you are in...
asked by 02.04.2014 / 21:02
1
answer

How to create a monolithic executable from the .NET application?

I would not like to deploy the application full of DLL, I wanted something simple, without installer, I wanted to generate a single executable file, but .NET is all based on DLL. Can you generate a single executable?     
asked by 27.03.2017 / 14:04
2
answers

How can I indicate the directory where my assemblies should be found?

My company has a facility that hits the house of gigabytes. We have a set of applications in our installation that share the same libraries. By default, when .NET runs an application, it looks for the assemblies in the same directory where...
asked by 20.02.2017 / 20:02
2
answers

How to protect a decompilation assembly?

Nowadays there are a lot of changers and recompilers for .NET Framework, the guy goes there, makes an application and everyone who has a decompiler (for example IL Spy) can go there, select the Assembly and see all the source code of the applica...
asked by 10.03.2016 / 20:09
1
answer

This assembly does not allow partially trusted callers

I have my project, and in it I have a dll to access some methods, in development it works normally, but in the homologation environment this is giving this msg:    "This assembly does not allow partially trusted callers." What can it be?...
asked by 11.06.2014 / 00:27
1
answer

Protecting methods of a DLL [duplicate]

I have a DLL that has several internal methods, I want to protect these internal methods so that they are called only by the DLL itself. Is there any way to define which methods can be called externally from the DLL?     
asked by 22.02.2017 / 20:25
1
answer

Understanding structures in the AssemblyInfo.cs file

Taking a look at the AssemblyInfo.cs file of a C # project I came across some structures that I am not recognizing. These are the lines: [assembly: AssemblyTitle("")] [assembly: AssemblyDescription ( "" )] [assembly: AssemblyConfigurati...
asked by 02.10.2016 / 00:08
1
answer

How to get a Type from a string

For example, I want a string containing the "System.Windows.Forms.Button" information to return a New Button() button object, would that be possible?    Note: It has the C # tag as it is easy to translate from C # to Visual...
asked by 15.02.2016 / 23:10
2
answers

Namespace Installation

I have a test project that came without Namespace System.Web.Helpers and others. I searched and did not find it. It should be, but it is not. How to install the face? Well, I can hunt on the internet and add, but as I find it to be a b...
asked by 13.07.2015 / 22:51
1
answer

How to convert a hexadecimal character to Assembly

My code should get a character and print the code in ASCII, but it does not work and I can not figure out where the error is. Edit: is giving the error (41) Unexpected end of file encountered model small stack 100h $Ascii...
asked by 27.10.2018 / 23:11