- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我尝试使用简单的 boost.asio daytime6 教程文件,效果很好并添加 boost.log 简单记录器,取自 settings_file 示例代码如下所示:
//
// server.cpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <ctime>
#include <iostream>
#include <string>
#include <exception>
#include <fstream>
#include <boost/array.hpp>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/asio.hpp>
#include <boost/log/common.hpp>
#include <boost/log/attributes.hpp>
#include <boost/log/utility/setup/from_stream.hpp>
namespace logging = boost::log;
namespace attrs = boost::log::attributes;
namespace src = boost::log::sources;
using boost::asio::ip::udp;
enum severity_level
{
normal,
notification,
warning,
error,
critical
};
BOOST_LOG_INLINE_GLOBAL_LOGGER_DEFAULT(my_logger, src::severity_logger< >)
std::string make_daytime_string()
{
using namespace std; // For time_t, time and ctime;
time_t now = time(0);
return ctime(&now);
}
class udp_server
{
public:
udp_server(boost::asio::io_service& io_service)
: socket_(io_service, udp::endpoint(udp::v4(), 4221))
{
start_receive();
}
private:
void start_receive()
{
socket_.async_receive_from(
boost::asio::buffer(recv_buffer_), remote_endpoint_,
boost::bind(&udp_server::handle_receive, this,
boost::asio::placeholders::error,
boost::asio::placeholders::bytes_transferred));
}
void handle_receive(const boost::system::error_code& error,
std::size_t /*bytes_transferred*/)
{
if (!error || error == boost::asio::error::message_size)
{
boost::shared_ptr<std::string> message(
new std::string(make_daytime_string()));
socket_.async_send_to(boost::asio::buffer(*message), remote_endpoint_,
boost::bind(&udp_server::handle_send, this, message,
boost::asio::placeholders::error,
boost::asio::placeholders::bytes_transferred));
start_receive();
}
}
void handle_send(boost::shared_ptr<std::string> /*message*/,
const boost::system::error_code& /*error*/,
std::size_t /*bytes_transferred*/)
{
}
udp::socket socket_;
udp::endpoint remote_endpoint_;
boost::array<char, 1> recv_buffer_;
};
int main()
{
try
{
src::severity_logger< >& lg = my_logger::get();
BOOST_LOG_SEV(lg, normal) << "This is a normal severity record";
std::cout << "utp server started port:4221 \n" << std::endl;
boost::asio::io_service io_service;
udp_server server(io_service);
io_service.run();
}
catch (std::exception& e)
{
std::cerr << e.what() << std::endl;
}
return 0;
}
链接库是:
libboost_iostreams-vc120-mt-sgd-1_61.lib;libboost_regex-vc120-mt-sgd-1_61.lib;libboost_system-vc120-mt-sgd-1_61.lib;libboost_thread-vc120-mt-sgd-1_61.lib;libboost_timer-vc120-mt-sgd-1_61.lib;libboost_date_time-vc120-mt-sgd-1_61.lib;libboost_filesystem-vc120-mt-sgd-1_61.lib;libboost_atomic-vc120-mt-sgd-1_61.lib;libboost_log_setup-vc120-mt-sgd-1_61.lib;%(AdditionalDependencies)
预处理器标志是:
WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_WIN32_WINNT=0x0501;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)
根据这个线程:
Boost-log linker error
我确实检查了它是否设置为 Yes (/Zc:wchar_t),它的确如此。
但我仍然收到那些链接错误:
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: static void * __cdecl boost::log::v2s_mt_nt5::attribute::impl::operator new(unsigned int)" (??2impl@attribute@v2s_mt_nt5@log@boost@@SAPAXI@Z) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::sources::aux::severity_level<int>::severity_level<int>(void)" (??0?$severity_level@H@aux@sources@v2s_mt_nt5@log@boost@@QAE@XZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: static void __cdecl boost::log::v2s_mt_nt5::attribute::impl::operator delete(void *,unsigned int)" (??3impl@attribute@v2s_mt_nt5@log@boost@@SAXPAXI@Z) referenced in function __unwindfunclet$??0?$severity_level@H@aux@sources@v2s_mt_nt5@log@boost@@QAE@XZ$0
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: __thiscall boost::log::v2s_mt_nt5::attribute_set::attribute_set(void)" (??0attribute_set@v2s_mt_nt5@log@boost@@QAE@XZ) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>(void)" (??0?$basic_logger@DV?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@Usingle_thread_model@2345@@sources@v2s_mt_nt5@log@boost@@QAE@XZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: __thiscall boost::log::v2s_mt_nt5::attribute_set::attribute_set(class boost::log::v2s_mt_nt5::attribute_set const &)" (??0attribute_set@v2s_mt_nt5@log@boost@@QAE@ABV0123@@Z) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>(class boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model> const &)" (??0?$basic_logger@DV?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@Usingle_thread_model@2345@@sources@v2s_mt_nt5@log@boost@@QAE@ABV01234@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: __thiscall boost::log::v2s_mt_nt5::attribute_set::~attribute_set(void)" (??1attribute_set@v2s_mt_nt5@log@boost@@QAE@XZ) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>::~basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>(void)" (??1?$basic_logger@DV?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@Usingle_thread_model@2345@@sources@v2s_mt_nt5@log@boost@@QAE@XZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: struct std::pair<class boost::log::v2s_mt_nt5::attribute_set::iter<0>,bool> __thiscall boost::log::v2s_mt_nt5::attribute_set::insert(class boost::log::v2s_mt_nt5::attribute_name,class boost::log::v2s_mt_nt5::attribute const &)" (?insert@attribute_set@v2s_mt_nt5@log@boost@@QAE?AU?$pair@V?$iter@$0A@@attribute_set@v2s_mt_nt5@log@boost@@_N@std@@Vattribute_name@234@ABVattribute@234@@Z) referenced in function "public: class boost::log::v2s_mt_nt5::attribute & __thiscall boost::log::v2s_mt_nt5::aux::attribute_set_reference_proxy::operator=(class boost::log::v2s_mt_nt5::attribute const &)const " (??4attribute_set_reference_proxy@aux@v2s_mt_nt5@log@boost@@QBEAAVattribute@234@ABV5234@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: static void __cdecl boost::log::v2s_mt_nt5::record_view::public_data::destroy(struct boost::log::v2s_mt_nt5::record_view::public_data const *)" (?destroy@public_data@record_view@v2s_mt_nt5@log@boost@@SAXPBU12345@@Z) referenced in function "public: void __thiscall boost::log::v2s_mt_nt5::record::reset(void)" (?reset@record@v2s_mt_nt5@log@boost@@QAEXXZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: static class boost::shared_ptr<class boost::log::v2s_mt_nt5::core> __cdecl boost::log::v2s_mt_nt5::core::get(void)" (?get@core@v2s_mt_nt5@log@boost@@SA?AV?$shared_ptr@Vcore@v2s_mt_nt5@log@boost@@@4@XZ) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>(class boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model> const &)" (??0?$basic_logger@DV?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@Usingle_thread_model@2345@@sources@v2s_mt_nt5@log@boost@@QAE@ABV01234@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: bool __thiscall boost::log::v2s_mt_nt5::core::get_logging_enabled(void)const " (?get_logging_enabled@core@v2s_mt_nt5@log@boost@@QBE_NXZ) referenced in function "public: class boost::log::v2s_mt_nt5::record __thiscall boost::log::v2s_mt_nt5::sources::basic_composite_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model,struct boost::log::v2s_mt_nt5::sources::features<struct boost::log::v2s_mt_nt5::sources::severity<int> > >::open_record<struct boost::parameter::aux::tagged_argument<struct boost::log::v2s_mt_nt5::keywords::tag::severity,enum severity_level const > >(struct boost::parameter::aux::tagged_argument<struct boost::log::v2s_mt_nt5::keywords::tag::severity,enum severity_level const > const &)" (??$open_record@U?$tagged_argument@Useverity@tag@keywords@v2s_mt_nt5@log@boost@@$$CBW4severity_level@@@aux@parameter@boost@@@?$basic_composite_logger@DV?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@Usingle_thread_model@2345@U?$features@U?$severity@H@sources@v2s_mt_nt5@log@boost@@@2345@@sources@v2s_mt_nt5@log@boost@@QAE?AVrecord@234@ABU?$tagged_argument@Useverity@tag@keywords@v2s_mt_nt5@log@boost@@$$CBW4severity_level@@@aux@parameter@4@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: class boost::log::v2s_mt_nt5::record __thiscall boost::log::v2s_mt_nt5::core::open_record(class boost::log::v2s_mt_nt5::attribute_set const &)" (?open_record@core@v2s_mt_nt5@log@boost@@QAE?AVrecord@234@ABVattribute_set@234@@Z) referenced in function "protected: class boost::log::v2s_mt_nt5::record __thiscall boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>::open_record_unlocked<struct boost::parameter::aux::tagged_argument<struct boost::log::v2s_mt_nt5::keywords::tag::severity,enum severity_level const > >(struct boost::parameter::aux::tagged_argument<struct boost::log::v2s_mt_nt5::keywords::tag::severity,enum severity_level const > const &)" (??$open_record_unlocked@U?$tagged_argument@Useverity@tag@keywords@v2s_mt_nt5@log@boost@@$$CBW4severity_level@@@aux@parameter@boost@@@?$basic_logger@DV?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@Usingle_thread_model@2345@@sources@v2s_mt_nt5@log@boost@@IAE?AVrecord@234@ABU?$tagged_argument@Useverity@tag@keywords@v2s_mt_nt5@log@boost@@$$CBW4severity_level@@@aux@parameter@4@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "private: void __thiscall boost::log::v2s_mt_nt5::core::push_record_move(class boost::log::v2s_mt_nt5::record &)" (?push_record_move@core@v2s_mt_nt5@log@boost@@AAEXAAVrecord@234@@Z) referenced in function "public: void __thiscall boost::log::v2s_mt_nt5::core::push_record(class boost::log::v2s_mt_nt5::record &&)" (?push_record@core@v2s_mt_nt5@log@boost@@QAEX$$QAVrecord@234@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::log::v2s_mt_nt5::aux::once_block_sentry::commit(void)" (?commit@once_block_sentry@aux@v2s_mt_nt5@log@boost@@QAEXXZ) referenced in function "public: static class boost::shared_ptr<struct boost::log::v2s_mt_nt5::sources::aux::logger_holder<class boost::log::v2s_mt_nt5::sources::severity_logger<int> > > & __cdecl boost::log::v2s_mt_nt5::aux::lazy_singleton<struct boost::log::v2s_mt_nt5::sources::aux::logger_singleton<struct my_logger>,class boost::shared_ptr<struct boost::log::v2s_mt_nt5::sources::aux::logger_holder<class boost::log::v2s_mt_nt5::sources::severity_logger<int> > > >::get(void)" (?get@?$lazy_singleton@U?$logger_singleton@Umy_logger@@@aux@sources@v2s_mt_nt5@log@boost@@V?$shared_ptr@U?$logger_holder@V?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@@aux@sources@v2s_mt_nt5@log@boost@@@6@@aux@v2s_mt_nt5@log@boost@@SAAAV?$shared_ptr@U?$logger_holder@V?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@@aux@sources@v2s_mt_nt5@log@boost@@@5@XZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "private: bool __thiscall boost::log::v2s_mt_nt5::aux::once_block_sentry::enter_once_block(void)const " (?enter_once_block@once_block_sentry@aux@v2s_mt_nt5@log@boost@@ABE_NXZ) referenced in function "public: bool __thiscall boost::log::v2s_mt_nt5::aux::once_block_sentry::executed(void)const " (?executed@once_block_sentry@aux@v2s_mt_nt5@log@boost@@QBE_NXZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "private: void __thiscall boost::log::v2s_mt_nt5::aux::once_block_sentry::rollback(void)" (?rollback@once_block_sentry@aux@v2s_mt_nt5@log@boost@@AAEXXZ) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::aux::once_block_sentry::~once_block_sentry(void)" (??1once_block_sentry@aux@v2s_mt_nt5@log@boost@@QAE@XZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: static class boost::shared_ptr<struct boost::log::v2s_mt_nt5::sources::aux::logger_holder_base> __cdecl boost::log::v2s_mt_nt5::sources::aux::global_storage::get_or_init(class boost::typeindex::stl_type_index,class boost::shared_ptr<struct boost::log::v2s_mt_nt5::sources::aux::logger_holder_base> (__cdecl*)(void))" (?get_or_init@global_storage@aux@sources@v2s_mt_nt5@log@boost@@SA?AV?$shared_ptr@Ulogger_holder_base@aux@sources@v2s_mt_nt5@log@boost@@@6@Vstl_type_index@typeindex@6@P6A?AV76@XZ@Z) referenced in function "public: static void __cdecl boost::log::v2s_mt_nt5::sources::aux::logger_singleton<struct my_logger>::init_instance(void)" (?init_instance@?$logger_singleton@Umy_logger@@@aux@sources@v2s_mt_nt5@log@boost@@SAXXZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "void __cdecl boost::log::v2s_mt_nt5::sources::aux::throw_odr_violation(class boost::typeindex::stl_type_index,class boost::typeindex::stl_type_index,struct boost::log::v2s_mt_nt5::sources::aux::logger_holder_base const &)" (?throw_odr_violation@aux@sources@v2s_mt_nt5@log@boost@@YAXVstl_type_index@typeindex@5@0ABUlogger_holder_base@12345@@Z) referenced in function "public: static void __cdecl boost::log::v2s_mt_nt5::sources::aux::logger_singleton<struct my_logger>::init_instance(void)" (?init_instance@?$logger_singleton@Umy_logger@@@aux@sources@v2s_mt_nt5@log@boost@@SAXXZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl boost::log::v2s_mt_nt5::aux::unhandled_exception_count(void)" (?unhandled_exception_count@aux@v2s_mt_nt5@log@boost@@YAIXZ) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::aux::record_pump<class boost::log::v2s_mt_nt5::sources::severity_logger<int> >::record_pump<class boost::log::v2s_mt_nt5::sources::severity_logger<int> >(class boost::log::v2s_mt_nt5::sources::severity_logger<int> &,class boost::log::v2s_mt_nt5::record &)" (??0?$record_pump@V?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@@aux@v2s_mt_nt5@log@boost@@QAE@AAV?$severity_logger@H@sources@234@AAVrecord@234@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "class boost::log::v2s_mt_nt5::attribute_name __cdecl boost::log::v2s_mt_nt5::aux::default_attribute_names::severity(void)" (?severity@default_attribute_names@aux@v2s_mt_nt5@log@boost@@YA?AVattribute_name@345@XZ) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::sources::basic_severity_logger<class boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>,int>::basic_severity_logger<class boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>,int>(class boost::log::v2s_mt_nt5::sources::basic_severity_logger<class boost::log::v2s_mt_nt5::sources::basic_logger<char,class boost::log::v2s_mt_nt5::sources::severity_logger<int>,struct boost::log::v2s_mt_nt5::sources::single_thread_model>,int> const &)" (??0?$basic_severity_logger@V?$basic_logger@DV?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@Usingle_thread_model@2345@@sources@v2s_mt_nt5@log@boost@@H@sources@v2s_mt_nt5@log@boost@@QAE@ABV01234@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "unsigned __int64 & __cdecl boost::log::v2s_mt_nt5::sources::aux::get_severity_level(void)" (?get_severity_level@aux@sources@v2s_mt_nt5@log@boost@@YAAA_KXZ) referenced in function "public: virtual class boost::intrusive_ptr<struct boost::log::v2s_mt_nt5::attribute_value::impl> __thiscall boost::log::v2s_mt_nt5::sources::aux::severity_level<int>::impl::detach_from_thread(void)" (?detach_from_thread@impl@?$severity_level@H@aux@sources@v2s_mt_nt5@log@boost@@UAE?AV?$intrusive_ptr@Uimpl@attribute_value@v2s_mt_nt5@log@boost@@@7@XZ)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: static struct boost::log::v2s_mt_nt5::aux::stream_provider<char>::stream_compound * __cdecl boost::log::v2s_mt_nt5::aux::stream_provider<char>::allocate_compound(class boost::log::v2s_mt_nt5::record &)" (?allocate_compound@?$stream_provider@D@aux@v2s_mt_nt5@log@boost@@SAPAUstream_compound@12345@AAVrecord@345@@Z) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::aux::record_pump<class boost::log::v2s_mt_nt5::sources::severity_logger<int> >::record_pump<class boost::log::v2s_mt_nt5::sources::severity_logger<int> >(class boost::log::v2s_mt_nt5::sources::severity_logger<int> &,class boost::log::v2s_mt_nt5::record &)" (??0?$record_pump@V?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@@aux@v2s_mt_nt5@log@boost@@QAE@AAV?$severity_logger@H@sources@234@AAVrecord@234@@Z)
1>net_udp_server.obj : error LNK2019: unresolved external symbol "public: static void __cdecl boost::log::v2s_mt_nt5::aux::stream_provider<char>::release_compound(struct boost::log::v2s_mt_nt5::aux::stream_provider<char>::stream_compound *)" (?release_compound@?$stream_provider@D@aux@v2s_mt_nt5@log@boost@@SAXPAUstream_compound@12345@@Z) referenced in function "public: __thiscall boost::log::v2s_mt_nt5::aux::record_pump<class boost::log::v2s_mt_nt5::sources::severity_logger<int> >::auto_release::~auto_release(void)" (??1auto_release@?$record_pump@V?$severity_logger@H@sources@v2s_mt_nt5@log@boost@@@aux@v2s_mt_nt5@log@boost@@QAE@XZ)
1>D:\dev\cpp\server\RakNet\RakNet\Debug\net_udp_server.exe : fatal error LNK1120: 21 unresolved externals
最佳答案
我怀疑您的 Boost 是为 Windows Vista 和更高版本构建的,而您正在为 Windows XP 构建代码。因此,Boost.Log 符号在库二进制文件和您的目标文件中的处理方式不同。
要为 Windows XP 构建 Boost,您需要在构建 Boost 时将 define=BOOST_USE_WINAPI_VERSION=0x0501
添加到 b2
命令行,并在构建您的系统时类似地定义此宏代码也是如此。
关于c++ - Visual Studio 2013 Boost-log v1_61_0 链接错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38931669/
我想根据我使用的 visual studio 版本编译不同的东西,比如 #if VISUAL_STUDIO_VERSION > 2015 eventH?.Invoke(this, EventArgs.
在 Visual Studio 2010 中调试并将鼠标悬停在变量名称上时,我可以选择使用 3 种不同的内置可视化工具:文本、XML 和 HTML。 这是我所指的示例: 由于我越来越多地使用基于 JS
我将可视化编程语言理解为允许程序员在屏幕上操作图形(而不是文本)对象以构建功能的语言。 我在 C#、VB 等中看到的最接近的东西是 RAD 控件,但这只是组成 UI 和最简单的功能——甚至与语言本身无
我目前正在使用 Visual Studio 2015 来编程 ASP.NET Core 应用程序。我对安装 Visual Studio 2017 有以下疑问: 什么被认为是最佳实践和/或最干净的方法?
尝试从扩展和更新获取 Visual Studio 扩展时,出现以下错误:- 向 visualstudiogallery.msdn.microsoft.com/Services/VStudio/Exte
我已经开发了Windows服务,并且该服务正在我的帐户下在本地计算机上运行。当我尝试通过在Visual Studio 2008中将其作为一个过程附加该服务来调试该服务时,我得到“无法附加到该过程。 V
作为标准安装的一部分,Visual Studio Code 带有一个名为“Monokai Dimmed”的颜色主题。 有没有办法将它移植到 Visual Studio 2015?我检查了社区主题( h
Visual Studio Community Edition是否可以使用Visual Studio Online帐户上的存储库? 我一直为包含在Online帐户中的Visual Studio Onl
我正在使用文本可视化工具在 Visual Studio 中调试字符串变量。然而,似乎字符串中间的大部分不见了。这背后的原因是什么? 最佳答案 Visual Studio 中的 Text Visuali
我正在开始一个涉及使用多个 SDK 的新项目,包括: 英特尔凌动开发者 SDK 文本转语音 SDK(建议?) 某种网络摄像头和增强现实支持(建议?) 我目前有 2008,但我也可以安装 2010。是否
我想知道,如果我发送一个解决方案文件夹(它是用 visual studio C# 编写的),您可以在 visual studio for mac 中打开解决方案吗? 在visual studio 20
有没有办法在 Visual Studio Code 和 Visual Studio 中设置相同的快捷方式(而不必每次都手动更改它们)? 例如,我在 Visual Studio Code 中经常使用 A
我无法启用 实时可视化树 在 Visual Studio 2017 用于 UWP 应用程序 (C#)。这个工具在 VS2015 上工作,但在 VS2017 中从来没有为我工作过。它对我的 WPF 项目
我刚开始了解 Visual Studio Code。我想知道,我可以将 Visual Studio 替换为所有 .NET 开发相关的工作吗? 我可以节省 Visual Studio 许可的成本吗? V
我安装了具有有效许可证(Visual Studio 订阅)的 Visual Studio 2019 企业版(VS 2019 16.1.4),它运行良好。 突然之间,当我尝试打开项目或项目中的任何文件时
Visual Studio 2015 Pro 提供以下 错误 : error BC36716: Visual Basic 9.0 does not support implicit line cont
我正在我的 PC 中使用 .net Framework 2.0 和 Visual C#(Microsoft Visual Studio 2008)开发 Windows 应用程序。 完成我的项目后,我必
有什么方法可以在启动 VS 时禁用 VA X 并仅在需要时将其重新打开?因为它会导致一些滞后。我似乎在 VS 的选项或 VA 的选项中都找不到该选项。 最佳答案 持shift在 Visual Stud
我可以将 Visual Studio 命令提示符 与免费的 Visual C# Express 一起使用吗? Visual Studio 命令提示符 被引用 here : Run 'Visual St
这很容易成为 Visual Studio 历史上最烦人的“功能”之一,我不明白它为什么存在 -- 曾经 . 为什么 CodePlex 项目需要关心我使用的是什么版本的 Visual Studio? 在
我是一名优秀的程序员,十分优秀!