Questions tagged [netmodules]

Relating to .NET modules (files with the `.netmodule` extension)

15 questions
9
votes
1 answer

Inter process communication between Electron app and Win32 native desktop app

I am trying to implement inter process communication between a desktop native app and an electron app on Windows for assignement(Operating systems). I am new to this area and not able to find relevant links. The options I have considered are: 1.…
5
votes
3 answers

Use cases for using netmodules when compiling .NET assemblies?

I'm interested in use cases for netmodules in .NET. In particular, I've been looking into better ways to break up solutions in .NET but not have quite as many assemblies to deploy. Netmodules are a very interesting idea, but they appear to break…
user29439
4
votes
1 answer

Is it possible to create a DLL which contains another DLL?

I am working on a project. The task is to create a DLL Project. In that project, I am having an existing DLL with set of methods. With the use of existing DLL I can call some methods and create some methods in the new DLL. Is that Possible in C#?…
Ahamed Nafeel
  • 49
  • 3
  • 13
1
vote
1 answer

Linking netmodules to a single file in msbuild

I want to ship a single .NET assembly generated from several C# projects via .netmodules. I've experimented with ILmerge, but it has other problems. I also had a look at the AssemblyResolve way, but I don't really understand it (both covered here:…
1
vote
1 answer

Analysing .NET Module files (.netmodule)

How can I analyse a .NET module? I know I can open it in a hex reader and work from there, but it's not exactly a friendly way of going about things. Is there an ILDasm-like tool available?
BanksySan
  • 27,362
  • 33
  • 117
  • 216
1
vote
1 answer

Compiling Classes separately using Roslyn and combining them together in an assembly

I have a set of disjoint dynamically written classes, I want to compile (and fix compilation errors) individually. Then I want to combine them into the same assembly. Since they have been already compiled, I do not want to simply pass their syntax…
Nick Polyak
  • 201
  • 1
  • 9
1
vote
1 answer

Visual Studio 2015 UP1 always rebuilds my C# netmodule-output project. Can it be fixed?

I have a C# project, named 'X', I modified the X.csproj file, and changed Library to Module This means I am now outputting .netmodule files instead of .dll files, which is cool, I can use the…
Cameron
  • 2,903
  • 1
  • 30
  • 31
1
vote
1 answer

PowerBuilder 11.5 .NET DLL pbl

I have converted a PowerBuilder application to 11.5 .NET. When it builds, it compiles into a DLL, an EXE and a bunch of “netmodule” files. Are the netmodules necessary for deployment, or just part of some intermediate step? Is there any way to get…
RepDetec
  • 741
  • 13
  • 29
0
votes
1 answer

How to call a Dafny method from a C# main program?

I need to feed data to Dafny functions and get their output. For that, I am trying to create a C# program that calls the Dafny functions. As a test I created a very simple Dafny file: module myDafnyModule { method boolMethod(b: bool) returns…
hmijail
  • 1,069
  • 9
  • 17
0
votes
0 answers

How do I keep a netmodule file from getting wiped on project clean in Visual Studio?

I've inherited an Ektron 8.5 project and it requires that saxon9api.netmodule be left in the /bin folder along with saxon9api.dll If I don't keep this .netmodule file in the bin, then the build fails. However, when I clean the project in Visual…
tmsimont
  • 2,651
  • 2
  • 25
  • 36
0
votes
2 answers

Create and Using DLL in same Project in c#

I am having a DLL file. With the use of DLL, I have to call the methods and add some more methods in my project. Now, I need to migrate the older DLL to Make that project as a new DLL. I done this But the problem is The C# code is converted to net…
Ahamed Nafeel
  • 49
  • 3
  • 13
0
votes
1 answer

Unable to create object in another appdomain when invoking C# using C++

I have created a C# code with output type as netmodule. This is being used in a C++ code. I want to create an object of the same assembly which is already loaded. But, in a separate AppDomain. But when doing this, I am unable to load the assembly to…
Santron Manibharathi
  • 628
  • 5
  • 12
  • 26
0
votes
1 answer

Linking Modules into Small Footprint Assemby

According to http://blogs.msdn.com/b/junfeng/archive/2005/02/12/371683.aspx I should be able to create a single .exe file build from some source code and a .netmodule file. However, after looking at…
Eric Kolotyluk
  • 1,958
  • 2
  • 21
  • 30
0
votes
2 answers

Adding Reference causes post-build to fail

I am having trouble adding log4net to my project. I added the reference and set everything up ok, but the build is failing. One of the error messages is complaining about the post-build failing, and the other error messages are saying The type or…
gwin003
  • 7,432
  • 5
  • 38
  • 59
0
votes
1 answer

Create a netmodule library using many dlls

I have a problem generating a netmodule archive, I have these files: class1.cs library1.dll library2.dll library3.dll class1.cs uses library1.dll and library2.dll uses library2.dll and library3.dll, I try using this command: C:\Microsoft Visual…
Respino
  • 11
  • 2