|
any luck for discovering America Mister knows everything
|
|
|
|
|
You start with a gripe before even asking something. And now you want us to find you a "free code camp"; presumably, that if you don't like our choices, it will be our fault.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
fault what you nonsense you talk about, somewhere someone knows about something free. No! your choices are limited and someone there knows something and maybe scare to share it. Its a GENERAL QUESTION! the world does not go around this channel only. people have the right to speak and look for different options! and maybe someone out there knows that option! Therefore thread the community of the way you express your self does not help this channel at all! the stupidity things you say or the idiotic don't make sense, the world don't circulate around you, its bigger
modified 18-Nov-21 20:25pm.
|
|
|
|
|
See, you just came to gripe. No extra clarity. No particular subject. Just: give me something free.
Having someone else do the work and research for you means it's "not free"; it costs time. Someone else's. Which includes asking you to "explain yourself" because you couldn't be bothered to ask a clear question in the first place.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
I did not know this channel its about metaphor and poems, how old are you? the mssg was clear and accurate people this days don't listen and want to go around the corner. This not a doctor where you explain with details, if you do not like move to the next page. instead of wasting time writing no sense
|
|
|
|
|
I apologize for thinking "your time" might be better served if you asked "better questions". You're wasting your own time.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
of course with a person like you, I believe you taking your buggers out because you have nothing to do rather than bother and waste of your own time to reply me. get a life! turn the page.
|
|
|
|
|
One of the best resources on the planet ==> free code camp[^]
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Wonder how stupid people to take time and reply, you got it men. you respond you own answer.. take time and reply i know its hard to be you and must hurt.
|
|
|
|
|
And you came to learn.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
I came here to see the stupid they reply to my add and has nothing better to do with their life, Thank you, my research its been successfully completed
|
|
|
|
|
It's called Google. Since using google seems never to have occurred to you, I'll help:
free coding camp .net at DuckDuckGo[^]
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I see lot idiots here they think are Mr knows everything.. Including your self, Please do not bother to reply or those things I do not think help thank once of the user I am onion i can find weather i want.
|
|
|
|
|
Blah, blah blah...
The first thing you need to learn is how to use google. Even people like you - that aren't know-it-alls - need to learn this. If you can't master that simple skill, you won't be successful as a programmer.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: The first thing you need to learn is how to use google. Even people like you - that aren't know-it-alls - need to learn this. If you can't master that simple skill, you won't be successful as a programmer. That's a nice one for the old guys: "I am so old that I could be successful as a programmer without mastering the skill of using Google." (The main reason being that Google didn't exist then.)
|
|
|
|
|
tamalera i can see you complain about your life a lot its hard to be you, I can see you have nothing to do more than to remove the snot from your nose. I can see how successful you are that you are here stuck reply to me
|
|
|
|
|
Hello all
I have a project where I from C# code need to use a COM object and consume events.
My COM object can send events by the use of Connectable Objects.
In the good old days when C++ and COM were used, I used the IConnectionPoint and Advice.
But, is there in .NET a way to consume COM events? I guess it will be in the System.Runtime.InteropServices.
|
|
|
|
|
For an early-bound library, you should be able to add event handlers in the same way as any other .NET class.
For a late-bound library, you'll want to use the System.Runtime.InteropServices.ComTypes.IConnectionPoint interface[^], which should be familiar to you from C++.
IIRC, the event sink parameter to the Advise method needs to be public , [ComVisible(true)] , and [ClassInterface(ClassInterfaceType.None)] .
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
When creating a .NET Framework 4.7.2 class library that uses a lot of Microsoft's NuGet packages, and creating an internal NuGet package from the library, is there a way to wrap all those MS packages into the library so that they aren't all required in apps built using my library?
Background:
I've got a legacy .NET Framework 4.7.2 console app, initially deployed a few years ago to an app server using a setup project. Updates and enhancements were deployed by merely copying the exe to the installation location, as well as any new DLLs the enhancements required.
We recently decided to have all our internal applications write their logs to Application Insights in Azure, so I created a .NET Framework 4.7.2 class library with this functionality, and added the 20-odd NuGet packages required (this overhead is insane) to support writing to AI. I built my own NuGet package for this library, uploaded it to our DevOps Artifacts. Then I added my package to the legacy app, and when I built the app it added all those MS DLLs to the obj/Release folder. I copied the new DLLs and the new exe to the deployed folder on the server, but running it fails as it can't find the MS DLLs. Setup projects are no longer supported (why???), so I don't know how to get this to work.
Any ideas?
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Would have stuck with the EXE.
Create a (web) server for handling the logging to Azure; your apps talk to the server instead of "NuGet", etc.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
TNCaver wrote: running it fails as it can't find the MS DLLs
That's the problem you need to fix, but unfortunately you haven't provided enough information about it.
You need to get the full exception details to try to diagnose the problem.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Double-check that the folder your app is running from contains Microsoft.Extensions.DependencyInjection.Abstractions.dll , and that its version is precisely 5.0.0.0 .
v5 of that library[^] doesn't have any additional dependencies, so either the file is missing, or you've got the wrong version.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Yep, did that at the beginning of my troubleshooting. All 20 package DLLs are in the same folder as the exe, just as all the previous DLLs it has been using all along have been. All the correct versions, copied from the obj\x64\Release folder where they were pushed to when I built the project.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
I am using VS 2019, .Net 4.5.2 on Windows 7.
I have an application which manages a configuration file for another application. The abridged version looks like:
<configuration>
<configSections>
<sectionGroup name="ServiceConfiguration" type="My.ServiceConfiguration" >
<section name="CustomSection" type="My.CustomSection" />
<sectionGroup name="ServiceStepGroups" type="My.StepGroups" >
<sectionGroup name="MyGroup1" type="My.StepGroup" />
</sectionGroup>
</sectionGroup>
</configSections>
<ServiceConfiguration>
<CustomSection />
<ServiceStepGroups>
<MyGroup1 />
</ServiceStepGroups>
</ServiceConfiguration>
</configuration>
When I run the program to modify the configuration file to add a new group with code such as:
namespace My
{
public class StepGroups : ConfigurationSectionGroup
{
public My.StepGroup AddNewGroup()
{
My.StepGroup newGroup = new My.StepGroup();
SectionGroups.Add("MyGroup2", newGroup);
}
}
}
and then save the configuration file I get
<configuration>
<configSections>
<sectionGroup name="ServiceConfiguration" type="My.ServiceConfiguration" >
<section name="CustomSection" type="My.CustomSection" />
<sectionGroup name="ServiceStepGroups" type="My.StepGroups" >
<sectionGroup name="MyGroup1" type="My.StepGroup" />
</sectionGroup>
</sectionGroup>
<sectionGroup name="ServiceConfiguration" >
<sectionGroup name="ServiceStepGroups" >
<sectionGroup name="MyGroup2" type="My.StepGroup" />
</sectionGroup>
</sectionGroup>
</configSections>
<ServiceConfiguration>
<ServiceStepGroups>
<CustomSection />
<MyGroup1 />
<MyGroup2 />
</ServiceStepGroups>
</ServiceConfiguration>
</configuration>
As can be seen, the new MyGroup2 declaration element gets wrapped in a new ServiceConfiguration/ServiceStepGroups construct but 1) AFTER the first construct, 2) WITHOUT type attributes and 3) WITHOUT a CustomSection section; however, the MyGroup2 configuration group IS in the right place in the configuration file below.
Why?
I would have expected the declaration of MyGroup2 to immediately follow the declaration of MyGroup1 without a second construct created.
Digging through the source code and [limited] documentation online has not been fruitful.
Is this a bug? Am I forgetting something?
It should be noted that when I load the new configuration file an exception is thrown (duplicate ServiceStepGroups section group) as would be expected; however, if I manually fix the configuration file as per my expectations previously stated the file loads successfully with the new MyGroup2 included.
Any help or insight is appreciated.
Thanks!
|
|
|
|